[Python-checkins] r42382 - in python/trunk: Include/abstract.h Include/bufferobject.h Include/cStringIO.h Include/ceval.h Include/dictobject.h Include/intobject.h Include/listobject.h Include/longintrepr.h Include/longobject.h Include/marshal.h I

M.-A. Lemburg mal at egenix.com
Thu Feb 16 11:31:45 CET 2006


Neal Norwitz wrote:
> On 2/15/06, martin.v.loewis <python-checkins at python.org> wrote:
>> Author: martin.v.loewis
>> Date: Wed Feb 15 18:27:45 2006
>> New Revision: 42382
>>
>> Log:
>> Merge ssize_t branch.
> 
> Very nice.  I actually reviewed this patch.  Here are my cryptic
> comments.  Let me know if they aren't understandable.  Hopefully I can
> decipher them tomorrow.  I mean today.
> 
> n
> --
> 
> Need to update doc wrt Py_BuildValue (format codes):  n and z.  I can
> take a stab at this if you want.  Let me know.
> 
> modsupport.h: Don't we want to bump the version?
> 
>  #define PYTHON_API_VERSION 1012
>  #define PYTHON_API_STRING "1012"

Not only that: we need to make sure that extensions compiled
for the new API version cannot be imported in older Python
versions on 64-bit platforms. Dito for trying to import extensions
compiled against an older API version into Python 2.5.

The old warning will no longer suffice, since the APIs
have changed in ways which are bound to cause segfaults
and buffer overflows.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Feb 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-checkins mailing list