summaryrefslogtreecommitdiffstats
path: root/Python/pyhash.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-21 21:36:26 (GMT)
committerGitHub <noreply@github.com>2021-04-21 21:36:26 (GMT)
commitd4aaa34798f0dd8402f412e2aa9d6fa2d6cff5fa (patch)
tree1d6376f3e6153091cfc9b6c8aae272168674441e /Python/pyhash.c
parent81fe01492c3b0892316719a07fe8b53f85f86a0a (diff)
downloadcpython-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/pyhash.c')
0 files changed, 0 insertions, 0 deletions