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 kj
Recipients felixxm, kj, vstinner
Date 2021-05-25.13:42:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621950163.72.0.489484460866.issue44232@roundup.psfhosted.org>
In-reply-to
Content
Can you please try removing the `assert(type != NULL);` line at https://github.com/python/cpython/blob/main/Objects/typeobject.c#L3313 and see if it works for you? I suspect that `winner->tp_new()` may sometimes fail and *should* return NULL to indicate that in those cases, so the assert may not always hold.
History
Date User Action Args
2021-05-25 13:42:43kjsetrecipients: + kj, vstinner, felixxm
2021-05-25 13:42:43kjsetmessageid: <1621950163.72.0.489484460866.issue44232@roundup.psfhosted.org>
2021-05-25 13:42:43kjlinkissue44232 messages
2021-05-25 13:42:43kjcreate