Fred Drake | ed0fa3d | 2003-07-30 19:14:09 +0000 | [diff] [blame^] | 1 | \documentclass{howto} |
| 2 | \usepackage{distutils} |
| 3 | % $Id$ |
| 4 | |
| 5 | \title{What's New in Python 2.4} |
| 6 | \release{0.0} |
| 7 | \author{A.M.\ Kuchling} |
| 8 | \authoraddress{\email{amk@amk.ca}} |
| 9 | |
| 10 | \begin{document} |
| 11 | \maketitle |
| 12 | \tableofcontents |
| 13 | |
| 14 | This article explains the new features in Python 2.4. No release date |
| 15 | for Python 2.4 has been set; expect that this will happen in 2004. |
| 16 | |
| 17 | While Python 2.3 was primarily a library development release, Python |
| 18 | 2.4 may extend the core language and interpreter in |
| 19 | as-yet-undetermined ways. |
| 20 | |
| 21 | This article doesn't attempt to provide a complete specification of |
| 22 | the new features, but instead provides a convenient overview. For |
| 23 | full details, you should refer to the documentation for Python 2.4. |
| 24 | % add hyperlink when the documentation becomes available online. |
| 25 | If you want to understand the complete implementation and design |
| 26 | rationale, refer to the PEP for a particular new feature. |
| 27 | |
| 28 | |
| 29 | %====================================================================== |
| 30 | |
| 31 | % Large, PEP-level features and changes should be described here. |
| 32 | |
| 33 | |
| 34 | %====================================================================== |
| 35 | \section{Other Language Changes} |
| 36 | |
| 37 | Here are all of the changes that Python 2.4 makes to the core Python |
| 38 | language. |
| 39 | |
| 40 | \begin{itemize} |
| 41 | \item TBD |
| 42 | |
| 43 | \end{itemize} |
| 44 | |
| 45 | |
| 46 | %====================================================================== |
| 47 | \subsection{Optimizations} |
| 48 | |
| 49 | \begin{itemize} |
| 50 | |
| 51 | \item Optimizations should be described here. |
| 52 | |
| 53 | \end{itemize} |
| 54 | |
| 55 | The net result of the 2.4 optimizations is that Python 2.4 runs the |
| 56 | pystone benchmark around XX\% faster than Python 2.3 and YY\% faster |
| 57 | than Python 2.2. |
| 58 | |
| 59 | |
| 60 | %====================================================================== |
| 61 | \section{New, Improved, and Deprecated Modules} |
| 62 | |
| 63 | As usual, Python's standard library received a number of enhancements and |
| 64 | bug fixes. Here's a partial list of the most notable changes, sorted |
| 65 | alphabetically by module name. Consult the |
| 66 | \file{Misc/NEWS} file in the source tree for a more |
| 67 | complete list of changes, or look through the CVS logs for all the |
| 68 | details. |
| 69 | |
| 70 | \begin{itemize} |
| 71 | |
| 72 | \item Descriptions go here. |
| 73 | |
| 74 | \end{itemize} |
| 75 | |
| 76 | |
| 77 | %====================================================================== |
| 78 | % whole new modules get described in \subsections here |
| 79 | |
| 80 | |
| 81 | % ====================================================================== |
| 82 | \section{Build and C API Changes} |
| 83 | |
| 84 | Changes to Python's build process and to the C API include: |
| 85 | |
| 86 | \begin{itemize} |
| 87 | |
| 88 | \item Detailed changes are listed here. |
| 89 | |
| 90 | \end{itemize} |
| 91 | |
| 92 | |
| 93 | %====================================================================== |
| 94 | \subsection{Port-Specific Changes} |
| 95 | |
| 96 | Platform-specific changes go here. |
| 97 | |
| 98 | |
| 99 | %====================================================================== |
| 100 | \section{Other Changes and Fixes \label{section-other}} |
| 101 | |
| 102 | As usual, there were a bunch of other improvements and bugfixes |
| 103 | scattered throughout the source tree. A search through the CVS change |
| 104 | logs finds there were XXX patches applied and YYY bugs fixed between |
| 105 | Python 2.3 and 2.4. Both figures are likely to be underestimates. |
| 106 | |
| 107 | Some of the more notable changes are: |
| 108 | |
| 109 | \begin{itemize} |
| 110 | |
| 111 | \item Details go here. |
| 112 | |
| 113 | \end{itemize} |
| 114 | |
| 115 | |
| 116 | %====================================================================== |
| 117 | \section{Porting to Python 2.4} |
| 118 | |
| 119 | This section lists previously described changes that may require |
| 120 | changes to your code: |
| 121 | |
| 122 | \begin{itemize} |
| 123 | |
| 124 | \item Everything is all in the details! |
| 125 | |
| 126 | \end{itemize} |
| 127 | |
| 128 | |
| 129 | %====================================================================== |
| 130 | \section{Acknowledgements \label{acks}} |
| 131 | |
| 132 | The author would like to thank the following people for offering |
| 133 | suggestions, corrections and assistance with various drafts of this |
| 134 | article: . |
| 135 | |
| 136 | \end{document} |