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).
G
Guido van Rossum committed
ba3e6ec0c9928000e796090b6df70cccd0d6f385
Parent: 3a703b6