Notice: While Javascript is not essential for this website, your interaction with the content will be limited. Please turn Javascript on for the full experience.

Python 2.2.1

Release Date: April 10, 2002

release.--> See <a href="../2.2.3/">Python 2.2.3</a> for a patch release which supersedes 2.2.1.</i> </blockquote>

<b>Important:</b> This release is vulnerable to the problem described in <a href="/news/security/PSF-2006-001/">security advisory PSF-2006-001</a> "Buffer overrun in repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in <a href="../2.4.4/">Python 2.4.4</a> and <a href="../2.5/">Python 2.5</a>. If you need to remain with Python 2.2, there's a patch available from the security advisory page.


<p>We are pleased to announce the release of <b>Python 2.2.1</b>, on April 10, 2002. This is a bug-fix release for Python 2.2 and supersedes the <a href="../2.2/">2.2</a> release.

<h3>Download the release</h3>

<p><b>Windows</b> users should download the Windows installer, <a href="/ftp/python/2.2.1/Python-2.2.1.exe">Python-2.2.1.exe</a>, run it and follow the friendly instructions on the screen to complete the installation. Windows users may also be interested in Mark Hammond's <a href="" >win32all</a>, a collection of Windows-specific extensions including COM support and Pythonwin, an IDE built using Windows components.

<p><b>Update (2002/04/23):</b> Windows users should download a new <a href="/ftp/python/2.2.1/UNWISE.EXE">UNWISE.EXE</a> from Wise that fixes a bug which could cause the uninstaller to disappear in some circumstances. Just drop it over the old uninstaller, which will be at <tt>C:Python22UNWISE.EXE</tt> unless you chose a different directory at install time.

<p><b>Macintosh</b> users can find binaries and source on the <a href="mac">Mac page</a> or Jack Jansen's <a href="">MacPython page</a>. (MacOS X users who have a C compiler can also build from the source tarball below.)

<p><b>Red Hat Linux 7.3, 7.2 and 6.2</b> users can download <a href="rpms">RPMs</a>, or build from source. An SRPM is also available for other RPM-based systems, or the source tar-file can be used (see the "rpm" man page for the "-ta" options).

<p><b>All others</b> should download <a href="/ftp/python/2.2.1/Python-2.2.1.tgz">Python-2.2.1.tgz</a>, the source tarball, and do the usual "gunzip; tar; configure; make" dance.

<h3>What's New?</h3>

This being a bug-fix release, there have been no exciting new features implemented since 2.2 -- just heaps of fixes.

For a partial list of these fixes, please see the <a href="NEWS">release notes</a>, or the <tt>Misc/NEWS</tt> file in the source distribution.

For the full list of changes, you can poke around CVS.

<h4>Other sources of information on 2.2</h4>


<p><li><a href="descrintro">Unifying types and classes in Python 2.2</a> by Guido van Rossum -- a tutorial on the material covered by PEPs 252 and 253.

<p><li><a href="/doc/2.2.1/whatsnew/">What's New in Python 2.2</a> by Andrew Kuchling describes the most visible changes since <a href="../2.1/">Python 2.1</a>.

<p><li>Guido gave a talk on what's new in 2.2 at the ZPUG-DC meeting on September 26, 2001; here are his <a href="">powerpoint slides</a>.

<p><li><a href= "" >Charming Python: Iterators and simple generators</a> by David Mertz on IBM developerWorks.



<p>The documentation has been updated too:


<li><a href="/doc/2.2.1/">Browse</a> HTML on-line

<li>Download using <a href="/ftp/python/doc/2.2.1/" >HTTP</a>.


<h3>Files, <a href="">MD5</a> checksums and sizes</h3>

1d1d8c1922177fd9e603552f0507d33b <a href="/ftp/python/2.2.1/Python-2.2.1.exe">Python-2.2.1.exe</a> (7142643 bytes) e7012d611602b62e36073c2fd02396a3 <a href="/ftp/python/2.2.1/Python-2.2.1.tgz">Python-2.2.1.tgz</a> (6535104 bytes) 9ae1d572cbd2bfd4e0c4b92ac11387c6 <a href="/ftp/python/2.2.1/UNWISE.EXE">UNWISE.EXE</a> (162304 bytes)


Full Changelog


Version Operating System Description MD5 Sum File Size GPG
Gzipped source tarball Source release 3b164ee6085546c7fd5035b48e8d15ee 28651520
Windows installer Windows 1d1d8c1922177fd9e603552f0507d33b 7142643