[Python-3000] bsddb landing in py3k branch
Jesus Cea
jcea at jcea.es
Sun Aug 31 16:46:45 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm still basically offline, working via a 9600 bps connection. I will
be "fully functional" late this week, back in Madrid. Too late for rc1,
I think.
I just committed bsddb 4.7.3pre2 to py3k. I need somebody that updates
"Lib/test/test_bsddb3.py" to make it equivalent to Python 2.6 one. The
code is short, maybe a simple "2to3" operation would be enough. I can't
do it because my online connection is marginal and I can't test
python3000 code at this moment. Please, confirm.
Important details:
* bsddb Python 3000 svn work is "lost". In particular, the "buffer"
code. This issue was already discussed here. My point is that bsddb is
big and complex, and I need to keep a single/unified Python 2.x/3.x
codebase to be able to cope with it. I will study your buffer efforts
eventually, nevertheless.
* All python code in bsddb in written in Python 2.x style. Python 3 code
is generated via "2to3". Please, do not update Python3 code directly.
The canonical version IS the 2.x code!.
* You will see conditional code and some ugliness . This will be
improved in the future. Just remember that this code MUST work in Python
2.3, 2.4, 2.5, 2.6 and 3.0. The very same code (via "2to3").
* The bytes/unicode dicotomy in Python 3.0 will be improved in future
releases of bsddb, in a compatible way (so, new code will be more
elegant, and old code will work without changes). I have already plans
for bsddb 4.7.4 and 4.7.5. Python3.0 cutoff is too close to improve this
just now. Be patient. In any case, current code is fully functional;
just beware with Unicode/Bytes mixes.
* Precompiled binaries distributed via Python.org SHOULD use Berkeley DB
4.7 (current version: 4.7.25). I guess we should update some buildbots,
also... (I already test the code privately against all Berkeley DB
versions 4.0-4.7).
- --
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
iQCVAwUBSLqu1Jlgi5GaxT1NAQJxGAP/QlZ39BE1kWAXDXECXvkLlBAVOQfdF5nk
fno+sA+rUSPES19CBxWhvEqoLzT8NS9JKuIU/treKfbcMv8BmPkqqsu2GLI8FXD4
uPCKcABOFHmszkT4+/VFjJVPq+GQXNkw8Gf6SlIgTeQ+exIwxUaGg85aMzfkylfD
XY1mJu2L2R0=
=aK7S
-----END PGP SIGNATURE-----
More information about the Python-3000
mailing list