commit | 9fc8a29663268a3ed5b8db15c4b7b7786f80e13e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri May 24 21:40:08 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri May 24 21:40:08 2002 +0000 |
tree | 7f22a30e0645c62f2dd4e2d3b4e0ce9d82cb2eb0 | |
parent | a2a206b917d7634fa43be1d4062b03f1f4404300 [diff] |
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(). Will fix this in 2.2.1 too.