]> granicus.if.org Git - python/commit
Patch from SF bug 570483 (Tim Northover).
authorGuido van Rossum <guido@python.org>
Tue, 18 Jun 2002 16:49:45 +0000 (16:49 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 18 Jun 2002 16:49:45 +0000 (16:49 +0000)
commita96b0df624247660d7a5fc620d3e82af1d124de2
tree6e520ea05e00b6f262179e0a2cd04a9db8143769
parent63517577fdcd7c17072e1a612f6d91a35030d571
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.
Lib/test/test_descr.py