Re: IMPORTANT 2.5 API changes for C Extension Modules

2006-04-06 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > One question: Is there a safe way to keep extension modules backward- > compatible with older Python versions? absolutely. > I am thinking of something like > > #ifndef PY_SSIZE_T_DEFINED > typedef Py_ssize_t int; > #endif > > assuming that Python 2.5 defines PY_SSIZE_

Re: IMPORTANT 2.5 API changes for C Extension Modules

2006-04-06 Thread konrad . hinsen
On 05.04.2006, at 08:44, [EMAIL PROTECTED] wrote: > Python 2.5 alpha 1 is in the process of being released later today. > There are important changes that are in 2.5 to support 64-bit systems. > These changes can cause Python to crash if your module is not upgraded > to support the changes. Pytho

Re: IMPORTANT 2.5 API changes for C Extension Modules

2006-04-05 Thread David Rushby
Thank you for taking the time to pull the relevant links together and make this post, Neal. -- http://mail.python.org/mailman/listinfo/python-list