diff options
author | Victor Stinner <vstinner@python.org> | 2021-04-21 21:36:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 21:36:26 (GMT) |
commit | d4aaa34798f0dd8402f412e2aa9d6fa2d6cff5fa (patch) | |
tree | 1d6376f3e6153091cfc9b6c8aae272168674441e /Python/getcompiler.c | |
parent | 81fe01492c3b0892316719a07fe8b53f85f86a0a (diff) | |
download | cpython-d4aaa34798f0dd8402f412e2aa9d6fa2d6cff5fa.zip cpython-d4aaa34798f0dd8402f412e2aa9d6fa2d6cff5fa.tar.gz cpython-d4aaa34798f0dd8402f412e2aa9d6fa2d6cff5fa.tar.bz2 |
bpo-40137: _PyType_GetModuleByDef() doesn't check tp_flags (GH-25504)
_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.
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions