]> granicus.if.org Git - python/commit
Patch from SF bug 570483 (Tim Northover).
authorGuido van Rossum <guido@python.org>
Tue, 18 Jun 2002 16:44:57 +0000 (16:44 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 18 Jun 2002 16:44:57 +0000 (16:44 +0000)
commit63517577fdcd7c17072e1a612f6d91a35030d571
tree14c35b3321d87938e5fafff30d32ad02b272c838
parenta0b907581611d19c3b7741f15c59b873009036f4
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.
Misc/ACKS
Objects/typeobject.c