]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport:
authorGuido van Rossum <guido@python.org>
Mon, 10 Jun 2002 14:34:01 +0000 (14:34 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 10 Jun 2002 14:34:01 +0000 (14:34 +0000)
commitc48d00d6748c584354d5e4e18e58955ffcd70b50
treef31596f830eac68af464cb980ff4c096e867b3cd
parent4130d6c23a85bb668ebc36a3a1074fb337f36bbc
Backport:

Three's a charm: yet another fix for SF bug 551412.  Thinking again
about the test case, slot_nb_power gets called on behalf of its second
argument, but with a non-None modulus it wouldn't check this, and
believes it is called on behalf of its first argument.  Fix this
properly, and get rid of the code in _PyType_Lookup() that tries to
call _PyType_Ready().  But do leave a check for a NULL tp_mro there,
because this can still legitimately occur.
Objects/typeobject.c