summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2005-09-19 22:42:41 (GMT)
committerGuido van Rossum <guido@python.org>2005-09-19 22:42:41 (GMT)
commitba3e6ec0c9928000e796090b6df70cccd0d6f385 (patch)
treee395c4618845a014fcd9db0e212d8505342b309f /Misc
parent3a703b60593e2bc2ddde232eaad365e4c126ff42 (diff)
downloadcpython-ba3e6ec0c9928000e796090b6df70cccd0d6f385.zip
cpython-ba3e6ec0c9928000e796090b6df70cccd0d6f385.tar.gz
cpython-ba3e6ec0c9928000e796090b6df70cccd0d6f385.tar.bz2
A minor fix for 64-bit platforms: when __len__() returns Python int
containing a value that doesn't fit in a C int, raise OverflowError rather than truncating silently (and having 50% chance of hitting the "it should be >= 0" error).
Diffstat (limited to 'Misc')
0 files changed, 0 insertions, 0 deletions