[Python-3000] Bytes and unicode conversion in C extensions
Jesus Cea
jcea at jcea.es
Thu Aug 14 07:05:52 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mike Klaas wrote:
| You may find this thread to be relevant:
|
| http://mail.python.org/pipermail/python-3000/2007-August/009197.html
Very relevant, indeed.
I will think about the "callback" option to convert both keys and values
(in both directions). This would be very nice if pybsddb classes could
be subclassed, inplementing in the subclass the appropiate conversion
methods.
But this is not going to be ready for 2.6/3.0.
Performance would be an issue, though. Although any code demanding the
callback conversion functions would do the conversion directly, so
paying for this work in a way or another.
- --
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
iQCVAwUBSKO9IZlgi5GaxT1NAQJ6aQQAoHKpyoRV28IAbD7v2UJZe/53Dz2t3krf
on9ojRTH1e/VhpOdNusLuvp5CurrWCtZqcvLViOKP/qIpLs8Q2M0lw5y35q15FIh
s8UpW+qmW+w5zaU8iQDrr8jjw9jFtHlkoDw5XD2hA/vRh4AIOHiXFN5Nta6GZtGd
LC3XvyYAQu0=
=ph+v
-----END PGP SIGNATURE-----
More information about the Python-3000
mailing list