diff options
author | Guido van Rossum <guido@python.org> | 2002-06-18 16:44:57 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-06-18 16:44:57 +0000 |
commit | 63517577fdcd7c17072e1a612f6d91a35030d571 (patch) | |
tree | 14c35b3321d87938e5fafff30d32ad02b272c838 /Python/strdup.c | |
parent | a0b907581611d19c3b7741f15c59b873009036f4 (diff) | |
download | cpython-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/strdup.c')
0 files changed, 0 insertions, 0 deletions