Re: [patchv2] Fix Python 3 build error on 32-bit hosts

Pedro Alves
2015-02-04T19:27:24Z

On 02/04/2015 08:20 PM, Jan Kratochvil wrote:
> On Wed, 04 Feb 2015 19:58:18 +0100, Pedro Alves wrote:
>> I agree with Paul here. I think checking Python version is sufficient.
>
> I should point out that version checking is error prone to distro backports.

Distros will be backporting Python fixes, not API/ABI breaking changes.

>> I'd be fine with providing a fallback Py_hash_t in python/python-internal.h,
>> where we already do a series of fallback definitions and fixes for older
>> Python, such as e.g. Py_ssize_t.
>
> Done.

OK.

Thanks,
Pedro Alves