diff options
author | Guido van Rossum <guido@python.org> | 2002-06-18 16:49:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-06-18 16:49:45 (GMT) |
commit | a96b0df624247660d7a5fc620d3e82af1d124de2 (patch) | |
tree | 6e520ea05e00b6f262179e0a2cd04a9db8143769 /Include/opcode.h | |
parent | 63517577fdcd7c17072e1a612f6d91a35030d571 (diff) | |
download | cpython-a96b0df624247660d7a5fc620d3e82af1d124de2.zip cpython-a96b0df624247660d7a5fc620d3e82af1d124de2.tar.gz cpython-a96b0df624247660d7a5fc620d3e82af1d124de2.tar.bz2 |
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 'Include/opcode.h')
0 files changed, 0 insertions, 0 deletions