[MERGE] * The C extensions now build on python 2.4 (Robert Collins, #271939)

Lukáš Lalinský lalinsky at gmail.com
Wed Sep 24 08:15:49 BST 2008

On Wed, Sep 24, 2008 at 6:16 AM, Robert Collins
<robertc at robertcollins.net> wrote:
> This fixes up the C extensions to build on python 2.4 with older pyrex
> versions (such as dapper has).

You could change _patiencediff_c.c to use this shared code as well,
instead of having two instances of it. Also, according to
http://www.python.org/dev/peps/pep-0353/ the recommended check is:

#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)

not just

#if PY_VERSION_HEX < 0x02050000


More information about the bazaar mailing list