This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients corona10, petr.viktorin, pitrou, serhiy.storchaka, shihai1991, vstinner
Date 2020-12-30.01:10:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609290610.57.0.299681996831.issue42747@roundup.psfhosted.org>
In-reply-to
Content
Serhiy Storchaka:
> I don't think that it was right thing to break binary compatibility. It virtually buried the stable ABI.

IMO there is a misunderstanding about the stable ABI. PyType_FromSpec() doesn't need Py_TPFLAGS_HAVE_xxx flags: this function allocates a heap type which *has* all these members (set to 0/NULL by default).

And it's not possible to define a static type using the limited C API, since the PyTypeObject structure is excluded from it on purpose.

See bpo-32388 for a similar discussion.
History
Date User Action Args
2020-12-30 01:10:10vstinnersetrecipients: + vstinner, pitrou, petr.viktorin, serhiy.storchaka, corona10, shihai1991
2020-12-30 01:10:10vstinnersetmessageid: <1609290610.57.0.299681996831.issue42747@roundup.psfhosted.org>
2020-12-30 01:10:10vstinnerlinkissue42747 messages
2020-12-30 01:10:10vstinnercreate