mirror of
https://github.com/python/cpython.git
synced 2026-05-09 22:20:38 -04:00
d4aaa34798
_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.
Source files for various builtin objects