[issue42747] Remove Py_TPFLAGS_HAVE_VERSION_TAG flag?

Petr Viktorin report at bugs.python.org
Wed Dec 30 03:50:07 EST 2020


Petr Viktorin <encukou at gmail.com> added the comment:

> I'm only aware of PyQt which uses the stable ABI. Is there other projects using it? Do these projects check for Py_TPFLAGS_HAVE_VERSION_TAG or Py_TPFLAGS_HAVE_FINALIZE flag?

I think there are. Who knows how many; they're not required to register anywhere.


If the flags do end up being removed, it would be nice to reserve the bits (in a comment), so they aren't reused too soon.

Also, ISTM that PEP 387 applies, and requires warning for two releases. How can that be done for flags?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42747>
_______________________________________


More information about the Python-bugs-list mailing list