diff options
author | Guido van Rossum <guido@python.org> | 2002-06-18 16:49:45 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-06-18 16:49:45 +0000 |
commit | a96b0df624247660d7a5fc620d3e82af1d124de2 (patch) | |
tree | 6e520ea05e00b6f262179e0a2cd04a9db8143769 /Python/dynload_os2.c | |
parent | 63517577fdcd7c17072e1a612f6d91a35030d571 (diff) | |
download | cpython-git-a96b0df624247660d7a5fc620d3e82af1d124de2.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