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 serhiy.storchaka
Recipients Robin.Schreiber, amaury.forgeotdarc, asvetlov, loewis, ned.deily, pitrou, serhiy.storchaka, terry.reedy
Date 2016-05-07.23:02:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I called the fix a workaround because other solution may be to make PyType_FromSpec() not setting tp_new in such cases. I expect that this is common mistake when convert a static class to a heap class with PyType_FromSpec(). At least we should add warnings in C API documentation and PEP 384. Or change the behavior of PyType_FromSpec() if it is appropriate. But this is different issue. If PyType_FromSpec() will be changed, proposed fix can be reverted.
Date User Action Args
2016-05-07 23:02:44serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, terry.reedy, amaury.forgeotdarc, pitrou, ned.deily, asvetlov, Robin.Schreiber
2016-05-07 23:02:44serhiy.storchakasetmessageid: <>
2016-05-07 23:02:44serhiy.storchakalinkissue23815 messages
2016-05-07 23:02:44serhiy.storchakacreate