]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix for SF bug 551412. When _PyType_Lookup() is called on a type
authorGuido van Rossum <guido@python.org>
Fri, 24 May 2002 21:41:26 +0000 (21:41 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 24 May 2002 21:41:26 +0000 (21:41 +0000)
commit6d36fd8401bcdc46a082c4920782942e2374ee0b
tree0f50b2d9fd318ea3d671611d1e4a564084b688f2
parent1cac6dbd076fe0bf29761779ad93a49f69553280
Fix for SF bug 551412.  When _PyType_Lookup() is called on a type
whose tp_mro hasn't been initialized, it would dump core.  Fix this by
checking for NULL and calling PyType_Ready().  Backport from 2.3.
Objects/typeobject.c