commit | 7e35d57c0cd94b136d613129cb22a2b4252aa008 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Sep 15 03:14:32 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Sep 15 03:14:32 2001 +0000 |
tree | 04cbba26e20c258dff63ab627b21906641d5c58a | |
parent | 0891ac017dd02f9c592c40940dff6b050523be00 [diff] |
A fix for SF bug #461546 (bug in long_mul). Both int and long multiplication are changed to be more careful in their assumptions about when one of the arguments is a sequence: the assumption that at least one of the arguments must be an int (or long, respectively) is still held, but the assumption that these don't smell like sequences is no longer true: a subtype of int or long may well have a sequence-repeat thingie!