[Python-checkins] r63679 - python/trunk/Misc/NEWS

Jesus Cea jcea at jcea.es
Thu May 29 10:08:15 CEST 2008


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

M.-A. Lemburg wrote:
| A C preprocessor #define isn't enough for this.
|
| You actually have to provide a C function wrapper in order to
| have both the PyBytes and PyString APIs in C.
|
| Newly compiled code should be directed to use the new names
| using preprocessor #defines, since those functions are performance
| critical.

+1

I agree. being able to set C breakpoints and such is interesting. The
wrappers would be a single line, and people don't wanting to pay the
(small) penalty hit can use the new API.

- --
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

iQCVAwUBSD5kbJlgi5GaxT1NAQJyUgP9GJo165ZrH5LPg5VBGjwVD32uyLQ2FBnp
IMOKXZJ7GyCFG44ztm1yxy3ZtG7RiSd6FilfBxLcfUeCgiNctZ46sR5+5iQtiyjx
lnqML7/fq5j2MBNbUPPsoQSCt0EeMFmF7AIFN/BGEwR+pLN5jsxS1KngnPln2w8l
ISfa8FZp/cQ=
=GMB6
-----END PGP SIGNATURE-----


More information about the Python-checkins mailing list