Backporting Python 2.4 modules

Raymond Hettinger vze4rx4y at verizon.net
Sun Nov 21 01:36:30 EST 2004


[Ian Bicking]
> Wouldn't it be cool if someone took all the enhanced and new modules in
> Python 2.3 and 2.4, and backported them to Python 2.2?

FWIW,
sets.py runs under 2.2,
the itertools docs include code equivalents that run on 2.2,
the ASPN site has a 2.2 version of the new collections.deque object,
the new heapq functions, nsmallest and nlargest, will run on 2.2,
and the new decimal module will run on 2.3.

If you want to package these, that would be nice.

OTOH, upgrading to a more modern python has its advantages too.  The newer
Pythons have fewer bugs, better memory usage, better docs, and improved
performance.


Raymond Hettinger





More information about the Python-list mailing list