Hi,

I've just checked in some changes to the Python source code in order
to support Python 2.2. Now the test suite runs successfully on Python
2.2.3 on Windows 2000. I've checked that no regressions were
introduced in later Python versions, too.

The changes are pretty simple : each Python module now features a
"from python22 import *". The mod_python.python22 module just
reimplements new builtins from Python 2.3. It turns out that the only
missing builtin for now is enumerate(). The tests module, containing a
few tests for generators, has to sport a "from __future__ import
generators" line.

I also had to change mod_python.cache which used time.strptime so that
it uses rfc822.parsedate, now.

I've did this because the guys from Nokia use Python 2.2 and
mod_python 3.1.3. They spotted memory leaks which are likely to be
fixed in mod_python 3.2.X, but they could not upgrade if Python 2.2
was not supported.

Regards,
Nicolas

Reply via email to