commit | a96b0df624247660d7a5fc620d3e82af1d124de2 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Jun 18 16:49:45 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Jun 18 16:49:45 2002 +0000 |
tree | 6e520ea05e00b6f262179e0a2cd04a9db8143769 | |
parent | 63517577fdcd7c17072e1a612f6d91a35030d571 [diff] |
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.