summaryrefslogtreecommitdiff
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2005-09-19 22:42:41 +0000
committerGuido van Rossum <guido@python.org>2005-09-19 22:42:41 +0000
commitba3e6ec0c9928000e796090b6df70cccd0d6f385 (patch)
treee395c4618845a014fcd9db0e212d8505342b309f /Python/thread_pthread.h
parent3a703b60593e2bc2ddde232eaad365e4c126ff42 (diff)
downloadcpython-git-ba3e6ec0c9928000e796090b6df70cccd0d6f385.tar.gz
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 'Python/thread_pthread.h')
0 files changed, 0 insertions, 0 deletions