[Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c (original) (raw)

M.-A. Lemburg mal at egenix.com
Fri Mar 17 00:11:03 CET 2006


Thomas Heller wrote:

Martin v. Löwis wrote:

Thomas Heller wrote:

BTW: Is a "porting guide" to make extension modules compatible with 2.5 available somewhere? PEP 353 scratches only the surface... Wrt. ssizet changes, PEP 353 is meant to be comprehensive. Which particular aspect are you missing? I suggest to change this: #if PYVERSIONHEX < 0x02050000 typedef int Pyssizet; #endif with this: #if (PYVERSIONHEX < 0x02050000) typedef int Pyssizet; #define lenfunc inquiry #define readbufferproc getreadbufferproc #define writebufferproc getwritebufferproc #define segcountproc getsegcountproc #define charbufferproc getcharbufferproc #define ssizeargfunc intargfunc #define ssizessizeargfunc intintargfunc #define ssizeobjargproc intobjargproc #define ssizessizeobjargproc intintobjargproc ... more defines #endif Maybe a complete list of defines needed can be given? Then, from only reading the PEP without looking up the sources, it is not clear to me what the PYSIZETCLEAN definition does. Finally, the format codes to use for Pyssizet arguments passed to PyBuildValue, PyStringFromFormat, PyObjectCallFunction (and other functions) are not mentioned at all.

Since this change is going to affect a lot of 3rd party extensions, I'd also like to see a complete list of public APIs that changed and how they changed (including the type slots)

Thanks,

Marc-Andre Lemburg eGenix.com

Professional Python Services directly from the Source (#1, Mar 16 2006)

Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/


::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::



More information about the Python-Dev mailing list