mirror of https://github.com/python/cpython
Browse Source
_PyType_GetModuleByDef() no longer checks if types are heap types. _PyType_GetModuleByDef() must only be called on a heap type created by PyType_FromModuleAndSpec() or on its subclasses. type_ready_mro() ensures that a static type cannot inherit from a heap type.pull/25505/head
committed by
GitHub
1 changed files with 14 additions and 15 deletions
Loading…
Reference in new issue