Author erlendaasland
Recipients christian.heimes, erlendaasland, pablogsal, serhiy.storchaka, shreyanavigyan, vstinner
Date 2021-04-27.08:23:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619511783.52.0.913802082657.issue43916@roundup.psfhosted.org>
In-reply-to
Content
Alternative approach:

Add _PyType_DisabledNew to Include/cpython, and add {Py_tp_new, _PyType_DisabledNew} slot to affected types. Diff attached.

See GH discussion:
- https://github.com/python/cpython/pull/25653#issuecomment-827383246
- https://github.com/python/cpython/pull/25653#issuecomment-827390034
History
Date User Action Args
2021-04-27 08:23:03erlendaaslandsetrecipients: + erlendaasland, vstinner, christian.heimes, serhiy.storchaka, pablogsal, shreyanavigyan
2021-04-27 08:23:03erlendaaslandsetmessageid: <1619511783.52.0.913802082657.issue43916@roundup.psfhosted.org>
2021-04-27 08:23:03erlendaaslandlinkissue43916 messages
2021-04-27 08:23:03erlendaaslandcreate