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 erlendaasland
Recipients christian.heimes, erlendaasland, pablogsal, serhiy.storchaka, shreyanavigyan, vstinner
Date 2021-04-27.08:41:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619512885.3.0.797145506387.issue43916@roundup.psfhosted.org>
In-reply-to
Content
> Alternatively we can make PyType_FromSpec() setting tp_new to NULL if there is explicit {Py_tp_new, NULL} in slots.

Yes. It's not as explicit (and self-documenting) as _PyType_DisabledNew, though. But it avoids expanding the C API.
History
Date User Action Args
2021-04-27 08:41:25erlendaaslandsetrecipients: + erlendaasland, vstinner, christian.heimes, serhiy.storchaka, pablogsal, shreyanavigyan
2021-04-27 08:41:25erlendaaslandsetmessageid: <1619512885.3.0.797145506387.issue43916@roundup.psfhosted.org>
2021-04-27 08:41:25erlendaaslandlinkissue43916 messages
2021-04-27 08:41:25erlendaaslandcreate