mirror of
https://github.com/python/cpython.git
synced 2026-05-24 13:23:00 -04:00
63517577fd
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.