[Python-Dev] Any PEP about 2.6 -> 3000 code transition?

Lennart Regebro regebro at gmail.com
Mon Jun 2 16:52:58 CEST 2008


On Sun, May 25, 2008 at 6:25 AM, Jesus Cea <jcea at jcea.es> wrote:
> Since I need to port bsddb3 to py3k, what I need to know?. Is any
> *updated* document out there?.

No, but there is a not yet complete, but quite updated set of examples.

http://code.google.com/p/python-incompatibility/

This is a collection of code snippets that will show code that does
work under 2.x but not under 3.x, and the 3.x way of doing it (as well
as a way that works under both 2.6 and 3.0, in applicable cases).

There is no tests for changes in the C-API, if you (or somebody else)
would like to add that (or any other tests) that would be very
appreciated!

-- 
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64


More information about the Python-Dev mailing list