Posted on May 15, 2008 by Lennart Regebro
Since PyCon I have been working on a set of tests to demonstrate incompatibilities between Python 2.5, 2.6 and 3.0, with the aim of not only documenting the incompatibilities, but also testing if you avoid them, and write code that runs under both Python 2.6 and 3.0, thereby providing a transitional path from 2.x to [...]
Filed under: plone, python, python 3000, zope | Tagged: python-incompatibility | 4 Comments »
Posted on March 22, 2008 by Lennart Regebro
This is a followup to my previous posts on the subject of Python 3 and compatibility, that even ended up on the reddit frontpage, and based on an answer to a question on the python-3000 list. The question basically is why 2to3 code conversion isn’t good enough.
The recommended path for porting Python code to [...]
Filed under: python, python 3000 | Tagged: python, python 3, python 3000 | 2 Comments »
Posted on March 19, 2008 by Lennart Regebro
I’m putting together a small suite of tests of things that break in Python 3, and ways around it. Specifically, I’m trying to see if it is possible to write code that runs both in Python 2.6 and Python 3.0. The answer so far is a resounding No! But this is because only one [...]
Filed under: python, python 3000 | Tagged: python, python 3, python 3000 | 9 Comments »
Posted on June 23, 2007 by Lennart Regebro
There is some discussion in Python community about the move to Python 3000. Basically it’s between people who are worried about it and those who aren’t.
There is a definite risk involved in breaking the backwards compatibility, and that is if you end up making it very difficult to make code that runs on both versions, [...]
Filed under: python, python 3000 | 3 Comments »