Author petr.viktorin
Recipients christian.heimes, corona10, petr.viktorin, shihai1991, vstinner
Date 2020-11-21.09:13:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I don't understand this issue. Why would Py_TPFLAGS_BASETYPE make the result of PyType_GetModule() wrong? Is the note in the documentation of PyType_GetModule() not clear?
A type and its subtypes may be defined in different modules; why would it be wrong to ask which module the superclass was defined in?

Note that PyType_GetModule() is needed if users want to implement something like _PyType_GetModuleByDef().
Date User Action Args
2020-11-21 09:13:02petr.viktorinsetrecipients: + petr.viktorin, vstinner, christian.heimes, corona10, shihai1991
2020-11-21 09:13:02petr.viktorinsetmessageid: <>
2020-11-21 09:13:02petr.viktorinlinkissue42418 messages
2020-11-21 09:13:02petr.viktorincreate