On 30 May 2018 at 20:43, Serhiy Storchaka <storch...@gmail.com> wrote:

> 29.05.18 17:15, Steve Dower пише:
>
>> Looks like it breaks the 3.7 ABI, which is certainly not allowed at this
>> time. But it’s not a limited API structure, so no problem for 3.8.
>>
>
> Looks like it breaks only extensions that use private macros
> _PyObject_GC_TRACK, _PyObject_GC_UNTRACK and _PyObject_GC_IS_TRACKED. Those
> that use only public functions PyObject_GC_Track() and
> PyObject_GC_UnTrack() shouldn't be affected.


The ABI concern is with PyGC_Head changing size, as that's a public struct
definition in a public header - even though the macros for working with it
are marked as private, the struct itself isn't.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to