diff options
author | Guido van Rossum <guido@python.org> | 2002-06-10 14:30:43 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-06-10 14:30:43 (GMT) |
commit | 2309498595cb5a69547ad87a66b4574971684ec3 (patch) | |
tree | 334b40a27e2613ef4eb20b4b4c8ce5d9ac5d9344 /Misc | |
parent | f70a0a8471fff12a4be06a2a1d643b32a7d40502 (diff) | |
download | cpython-2309498595cb5a69547ad87a66b4574971684ec3.zip cpython-2309498595cb5a69547ad87a66b4574971684ec3.tar.gz cpython-2309498595cb5a69547ad87a66b4574971684ec3.tar.bz2 |
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.
I'll fix this in 2.2.x too.
Diffstat (limited to 'Misc')
0 files changed, 0 insertions, 0 deletions