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

Jesus Cea jcea at jcea.es
Sun May 25 06:25:17 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I can't find any PEP about detailed 2.6 -> 3000 migration guidelines,
specially in the module (C code) extension area. Yes, I know about the
2to3 tool, but I'm interested in updating my 2.x code in order to keep
(automatic via "2to3") difference between 2.x and 3.x codebase so small
as possible. Also, 2to3 doesn't manage migration for C modules.

Since I need to port bsddb3 to py3k, what I need to know?. Is any
*updated* document out there?.

PS: My plan is keep working in the python side under 2.x, and manage
Python 3.0 via "2to3", for a long time. In the C side, I plan keeping
the same codebase, with conditional compilation. Ideas?.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
~                               _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSDjqJplgi5GaxT1NAQLP3QP/Y2bWmNzHKsIq23dRz9sxd237TSfzbs5X
UzEQ6Ze9Kv1lRXYRfiGjk37aOeiO4xqoKPfASc/WjMN/TmRkUNZxMQEQWwFYhmCA
aAVqGxNMEX3KCXvRP9MkkZYLPa9RZg8boPTMYCn+uLDW1Ff2Pwj96hFKbWKG0dkJ
RamNp8BFhkM=
=ngK+
-----END PGP SIGNATURE-----


More information about the Python-Dev mailing list