2009/11/3 Charles Cazabon <charlesc-lists-python-dev at pyropus.ca>: > "Martin v. Löwis" <martin at v.loewis.de> wrote: > It's pretty easy to make Python source that works under 2.6 and 3.x. It's > basically impossible to make Python source that works under 2.4/2.5 and > 3.x. Without using 2to3, yes. See http://code.google.com/p/python-incompatibility/ where I've attempted to document most 2.5/3.0 incompatibilities and explain how to get around them to run the same unmodified code under 2.6 and 3.0. (It's not complete, help appreciated, especially with the C-API part) > No. getmail v.4 runs fine on Python 2.3.4 through 2.6.x; getmail's code has > always been pretty forward-compatible. Then it's going to be dead easy to support both 2.x and 3.x by using 2to3. If you don't want to have separate packages youcan use distribute: http://packages.python.org/distribute/python3.html Also see my talk at PyCon: http://pycon.blip.tv/file/1949281/ -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4