This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patchv2] Fix Python 3 build error on 32-bit hosts
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Paul_Koning at dell dot com
- Date: Wed, 04 Feb 2015 20:27:16 +0100
- Subject: Re: [patchv2] Fix Python 3 build error on 32-bit hosts
- Authentication-results: sourceware.org; auth=none
- References: <20150204174311 dot GA24375 at host1 dot jankratochvil dot net> <54D26BCA dot 2000505 at redhat dot com> <20150204192028 dot GA12310 at host1 dot jankratochvil dot net>
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