On 20 February 2011 15:51, Michael Sparks <[email protected]> wrote: > > > Since it's vaguely relevant, porting python 2 code to python 3 > compatible > isn't actually as painful as people generally seem to think. I > converted > Axon (Kamaelia's core concurrency library) to python 3 compatibility > over > the course of one evening last week. The code now runs under both > python > 2 and python 3. >
It's good to read positive and practical experiences of creating a codebase which runs unchanged on Python 2/3. Some of these experiences are also distilled in "Approach 2" at http://wiki.python.org/moin/PortingPythonToPy3k. Also mentioned are a set of from __future__ imports which make Python 2/3 cross compatibility even easier, though they're mostly restricted to Python 2.6+. -- To post: [email protected] To unsubscribe: [email protected] Feeds: http://groups.google.com/group/python-north-west/feeds More options: http://groups.google.com/group/python-north-west
