blob: 5fda620e4563ce5d23e13374348c11a4923dd9df [file] [log] [blame]
Fred Drakeed0fa3d2003-07-30 19:14:09 +00001\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
14This article explains the new features in Python 2.4. No release date
15for Python 2.4 has been set; expect that this will happen in 2004.
16
17While Python 2.3 was primarily a library development release, Python
182.4 may extend the core language and interpreter in
19as-yet-undetermined ways.
20
21This article doesn't attempt to provide a complete specification of
22the new features, but instead provides a convenient overview. For
23full details, you should refer to the documentation for Python 2.4.
24% add hyperlink when the documentation becomes available online.
25If you want to understand the complete implementation and design
26rationale, 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
37Here are all of the changes that Python 2.4 makes to the core Python
38language.
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
55The net result of the 2.4 optimizations is that Python 2.4 runs the
56pystone benchmark around XX\% faster than Python 2.3 and YY\% faster
57than Python 2.2.
58
59
60%======================================================================
61\section{New, Improved, and Deprecated Modules}
62
63As usual, Python's standard library received a number of enhancements and
64bug fixes. Here's a partial list of the most notable changes, sorted
65alphabetically by module name. Consult the
66\file{Misc/NEWS} file in the source tree for a more
67complete list of changes, or look through the CVS logs for all the
68details.
69
70\begin{itemize}
71
Andrew M. Kuchling69f31eb2003-08-13 23:11:04 +000072\item The \module{curses} modules now supports the ncurses extension
73 \function{use_default_colors()}. On platforms where the terminal
74 supports transparency, this makes it possible to use a transparent background.
75 (Contributed by J\"org Lehmann.)
76
Fred Drakeed0fa3d2003-07-30 19:14:09 +000077\end{itemize}
78
79
80%======================================================================
81% whole new modules get described in \subsections here
82
83
84% ======================================================================
85\section{Build and C API Changes}
86
87Changes to Python's build process and to the C API include:
88
89\begin{itemize}
90
91\item Detailed changes are listed here.
92
93\end{itemize}
94
95
96%======================================================================
97\subsection{Port-Specific Changes}
98
99Platform-specific changes go here.
100
101
102%======================================================================
103\section{Other Changes and Fixes \label{section-other}}
104
105As usual, there were a bunch of other improvements and bugfixes
106scattered throughout the source tree. A search through the CVS change
107logs finds there were XXX patches applied and YYY bugs fixed between
108Python 2.3 and 2.4. Both figures are likely to be underestimates.
109
110Some of the more notable changes are:
111
112\begin{itemize}
113
114\item Details go here.
115
116\end{itemize}
117
118
119%======================================================================
120\section{Porting to Python 2.4}
121
122This section lists previously described changes that may require
123changes to your code:
124
125\begin{itemize}
126
Martin v. Löwisc6bb6c02003-09-20 15:52:21 +0000127\item dircache.listdir now passes exceptions to the caller,
128instead of returning empty lists.
Fred Drakeed0fa3d2003-07-30 19:14:09 +0000129
130\end{itemize}
131
132
133%======================================================================
134\section{Acknowledgements \label{acks}}
135
136The author would like to thank the following people for offering
137suggestions, corrections and assistance with various drafts of this
138article: .
139
140\end{document}