• Guido van Rossum's avatar
    A fix for SF bug #461546 (bug in long_mul). · 7e35d57c
    Guido van Rossum yazdı
    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!
    7e35d57c
longobject.c 52.2 KB