➜

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.

作者 serhiy.storchaka
收信人 erlendaasland, pablogsal, serhiy.storchaka, shreyanavigyan, vstinner
日期 2021-04-26.12:10:44
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1619439044.15.0.817595969891.issue43916@roundup.psfhosted.org>
In-reply-to
内容
The explaining comment was added in f884b749103bad0724e2e4878cd5fe49a41bd7df.

The code itself is much older. It was originally added in 6d6c1a35e08b95a83dbe47dbd9e6474daff00354, then
weaked in c11e192d416e2970e6a06cf06d4cf788f322c6ea and strengthen in 29687cd2112c540a8a4d31cf3b191cf10db08412.

All types except static types which are direct descendants of object inherit tp_new from a base class.

We need to check which static types had tp_new = NULL before they were converted to heap types and set it to NULL manually after type creation.
历史
日期 用户 动作 参数
2021-04-26 12:10:44serhiy.storchaka修改recipients: + serhiy.storchaka, vstinner, pablogsal, erlendaasland, shreyanavigyan
2021-04-26 12:10:44serhiy.storchaka修改messageid: <1619439044.15.0.817595969891.issue43916@roundup.psfhosted.org>
2021-04-26 12:10:44serhiy.storchaka链接issue43916 messages
2021-04-26 12:10:44serhiy.storchaka创建