summaryrefslogtreecommitdiff
path: root/Python/dynload_os2.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-06-18 16:44:57 +0000
committerGuido van Rossum <guido@python.org>2002-06-18 16:44:57 +0000
commit63517577fdcd7c17072e1a612f6d91a35030d571 (patch)
tree14c35b3321d87938e5fafff30d32ad02b272c838 /Python/dynload_os2.c
parenta0b907581611d19c3b7741f15c59b873009036f4 (diff)
downloadcpython-git-63517577fdcd7c17072e1a612f6d91a35030d571.tar.gz
Patch from SF bug 570483 (Tim Northover).
In a fresh interpreter, type.mro(tuple) would segfault, because PyType_Ready() isn't called for tuple yet. To fix, call PyType_Ready(type) if type->tp_dict is NULL.
Diffstat (limited to 'Python/dynload_os2.c')
0 files changed, 0 insertions, 0 deletions