Author shihai1991
Recipients christian.heimes, corona10, petr.viktorin, shihai1991, vstinner
Date 2020-11-20.18:25:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605896706.58.0.651614382754.issue42418@roundup.psfhosted.org>
In-reply-to
Content
>I propose to either a guard to PyType_GetModule() to prevent misuse of the function or to add a variant of the function that prevents misuse.
+1. Looks like check Py_TPFLAGS_BASETYPE in PyType_GetModule() is an easy way:)
History
Date User Action Args
2020-11-20 18:25:06shihai1991setrecipients: + shihai1991, vstinner, christian.heimes, petr.viktorin, corona10
2020-11-20 18:25:06shihai1991setmessageid: <1605896706.58.0.651614382754.issue42418@roundup.psfhosted.org>
2020-11-20 18:25:06shihai1991linkissue42418 messages
2020-11-20 18:25:06shihai1991create