summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2006-10-04 10:13:32 (GMT)
committerArmin Rigo <arigo@tunes.org>2006-10-04 10:13:32 (GMT)
commitb2d0f342404de73905e4febb8c202f41fc0f654f (patch)
tree0cd71d2bcf0c16207d12737d4a73ddd6a2b2e89b /Python/pythonrun.c
parentf44c1003d0cc91a773c07de89dbc316926a36fd3 (diff)
downloadcpython-b2d0f342404de73905e4febb8c202f41fc0f654f.zip
cpython-b2d0f342404de73905e4febb8c202f41fc0f654f.tar.gz
cpython-b2d0f342404de73905e4febb8c202f41fc0f654f.tar.bz2
A review of overflow-detecting code in the 2.4 branch.
* unified the way intobject, longobject and mystrtoul handle values around -sys.maxint-1. * in general, trying to entierely avoid overflows in any computation involving signed ints or longs is extremely involved. Fixed a few simple cases where a compiler might be too clever (but that's all guesswork). * more overflow checks against bad data in marshal.c.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions