]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport:
authorGuido van Rossum <guido@python.org>
Tue, 18 Jun 2002 16:46:57 +0000 (16:46 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 18 Jun 2002 16:46:57 +0000 (16:46 +0000)
commit36d0d694270e91bdb61b55ea28e612a35a3d101c
treed868d00eb2c6596b639828f23fa936c709ce7fc9
parent277316f6944d19692e3cc1d340d254c4deaa8975
Backport:
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.
Objects/typeobject.c