]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport:
authorGuido van Rossum <guido@python.org>
Tue, 13 Aug 2002 10:07:17 +0000 (10:07 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 13 Aug 2002 10:07:17 +0000 (10:07 +0000)
commite5c877f06edbfa24cbbab9c9c83d71e7bbab117b
treea6e899641986843ea75ee0f6d169cafee5853121
parentdc1febb667872f737f45bc677025c673426a85ad
Backport:
Add an improvement wrinkle to Neil Schemenauer's change to int_mul
(rev. 2.79.6.3).  The other type is only disqualified from sq_repeat when
it has the CHECKTYPES flag.  This means that for extension types that
only support "old-style" numeric ops, such as Zope 2's ExtensionClass,
sq_repeat still trumps nb_multiply.
Objects/intobject.c