% $Id$
\title{What's New in Python 2.2}
-\release{1.00}
+\release{1.02}
\author{A.M. Kuchling}
\authoraddress{\email{akuchlin@mems-exchange.org}}
\begin{document}
\section{Introduction}
-This article explains the new features in Python 2.2, released on
-December 21, 2001.
+This article explains the new features in Python 2.2.2, released on
+October 14, 2002. Python 2.2.2 is a bugfix release of Python 2.2,
+originally released on December 21, 2001.
Python 2.2 can be thought of as the "cleanup release". There are some
features such as generators and iterators that are completely new, but
existing new-style class. Most of Python's built-in types, such as
integers, lists, dictionaries, and even files, are new-style classes
now. A new-style class named \class{object}, the base class for all
-built-in types, has been also been added so if no built-in type is
+built-in types, has also been added so if no built-in type is
suitable, you can just subclass \class{object}:
\begin{verbatim}
\begin{itemize}
\item The \module{xmlrpclib} module was contributed to the standard
- library by Fredrik Lundh, provding support for writing XML-RPC
+ library by Fredrik Lundh, providing support for writing XML-RPC
clients. XML-RPC is a simple remote procedure call protocol built on
top of HTTP and XML. For example, the following snippet retrieves a
list of RSS channels from the O'Reilly Network, and then
The original patch for this feature was contributed by Nick Mathewson.
\item The Python profiler has been extensively reworked and various
- errors in its output have been corrected. (Contributed by Fred
+ errors in its output have been corrected. (Contributed by
Fred~L. Drake, Jr. and Tim Peters.)
\item The \module{socket} module can be compiled to support IPv6;
in \rfc{2342}, SORT, GETACL and SETACL. (Contributed by Anthony
Baxter and Michel Pelletier.)
- % XXX should the 'email' module get a section of its own?
\item The \module{rfc822} module's parsing of email addresses is now
compliant with \rfc{2822}, an update to \rfc{822}. (The module's
name is \emph{not} going to be changed to \samp{rfc2822}.) A new
As usual there were a bunch of other improvements and bugfixes
scattered throughout the source tree. A search through the CVS change
-logs finds there were 527 patches applied, and 683 bugs fixed; both
-figures are likely to be underestimates. Some of the more notable
-changes are:
+logs finds there were 527 patches applied and 683 bugs fixed between
+Python 2.1 and 2.2; 2.2.1 applied 139 patches and fixed 143 bugs;
+2.2.2 applied 106 patches and fixed 82 bugs. These figures are likely
+to be underestimates.
+
+Some of the more notable changes are:
\begin{itemize}
Carel Fellinger, David Goodger, Mark Hammond, Stephen Hansen, Michael
Hudson, Jack Jansen, Marc-Andr\'e Lemburg, Martin von L\"owis, Fredrik
Lundh, Michael McLay, Nick Mathewson, Paul Moore, Gustavo Niemeyer,
-Don O'Donnell, Tim Peters, Jens Quade, Tom Reinhardt, Neil
-Schemenauer, Guido van Rossum, Greg Ward.
+Don O'Donnell, Joonas Paalasma, Tim Peters, Jens Quade, Tom Reinhardt, Neil
+Schemenauer, Guido van Rossum, Greg Ward, Edward Welbourne.
\end{document}