This is the mail archive of the
mailing list for the GDB project.
Re: Python 2.6 support
On 08/08/17 13:08, Simon Marchi wrote:
> On 2017-08-08 12:03, Phil Muldoon wrote:
>> Hi all,
>> Moved to mailing list for broader discussion. Currently we have
>> committed code in the GDB sourceware git repository that only works
>> with 2.7+
>> Memory View objects were introduced in 2.7
>> Is our position therefor 2.7+ for Python? Or should this code be gated
>> for Python installations less than 2.7?
> That specific issue as been fixed shortly after:
> I have just tried building GDB against Python 2.6.9, seems to works find (at least it builds, I didn't test it).
> So far I don't think the effort to support Python 2.6 has been disproportionate, so I think it's still worth it to support it.
Ah, excellent! I'll update the bug and close it then.
On 2.6 I'm ambivalent to the matter save that as 3.x further
progresses we'll have to consider it in the future. The biggest
issues are "long" and "int" handling between the two and I've already
put several fixes in place (that were committed some time ago) to deal
with it. There are other areas that need attention; bugs in Bugzilla
highlights some cases. I plan to work on them, soon, though.