]> granicus.if.org Git - python/commit
Add an improvement wrinkle to Neil Schemenauer's change to int_mul
authorGuido van Rossum <guido@python.org>
Tue, 13 Aug 2002 10:05:56 +0000 (10:05 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 13 Aug 2002 10:05:56 +0000 (10:05 +0000)
commit4571e9d42a3b1734635385eb2c4328cfe82496cd
tree6082849d2dbba310c821bf63f1e0cf188d06770f
parentd0876b859d3789e7ec8c9ec18f4a04db3fc097c0
Add an improvement wrinkle to Neil Schemenauer's change to int_mul
(rev. 2.86).  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