Johannes schrijft: "Versie 2.2 van de programmeertaal Python is uit." Het betreft een final en kreeg de volgende release-notes mee:
- Tim Peters developed a brand new Windows installer using Wise 8.1, generously donated to us by Wise Solutions.
- Type/Class Unification: A new way of introspecting instances of built-in types (PEP 252) and the ability to subclass built-in types (PEP 253) have been added. Here is a tutorial on these features.
- Iterators (PEP 234) and generators (PEP 255) were added. The second PEP adds a new reserved word, "yield", which must be enabled by adding "from __future__ import generators" to the top of every module that uses it. Without that, "yield" is treated as an identifier but a warning is issued.
- The floor division operator // has been added as outlined in PEP 238. The / operator still provides classic division (and will until Python 3.0) unless "from __future__ import division" is included, in which case the / operator will provide true division.
- Integer overflow is now a thing of the past; when small integer operations have a result that's too large to represent as a small integer, a long integer is now returned. See PEP 237.
- Barry Warsaw's mimelib package is now part of the standard library. It has been renamed to the email package, and there have been some API changes.
- Fredrik Lundh's xmlrpclib is now a standard library module. This provides full client-side XML-RPC support. A server class is also provided (module SimpleXMLRPCServer).
- Large file support is now enabled on Win32 and Win64 platforms, and automatically configured (at least on Linux and Solaris).