summaryrefslogtreecommitdiff
path: root/Python/exceptions.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-12-04 23:05:10 +0000
committerTim Peters <tim.peters@gmail.com>2001-12-04 23:05:10 +0000
commita3c01ce696cdbc0d8236a002cc76103db5662a1b (patch)
tree63424e93418396b4304ad7ee48ef78f1eeea25ee /Python/exceptions.c
parentd2a557e51eeb3d6fc444caab496d855dcbc2953b (diff)
downloadcpython-git-a3c01ce696cdbc0d8236a002cc76103db5662a1b.tar.gz
SF bug #488480: integer multiply to return -max_int-1.
int_mul(): new and vastly simpler overflow checking. Whether it's faster or slower will likely vary across platforms, favoring boxes with fast floating point. OTOH, we no longer have to worry about people shipping broken LONG_BIT definitions <0.9 wink>.
Diffstat (limited to 'Python/exceptions.c')
0 files changed, 0 insertions, 0 deletions