diff options
author | Guido van Rossum <guido@python.org> | 2005-09-19 22:42:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2005-09-19 22:42:41 (GMT) |
commit | ba3e6ec0c9928000e796090b6df70cccd0d6f385 (patch) | |
tree | e395c4618845a014fcd9db0e212d8505342b309f /Misc | |
parent | 3a703b60593e2bc2ddde232eaad365e4c126ff42 (diff) | |
download | cpython-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