commit | 630db60a5533a3267e2cc07047498fad604e3c91 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Sep 20 18:49:54 2005 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Sep 20 18:49:54 2005 +0000 |
tree | 9ce39ac2901a390b493b0af3aaf26989e4d52747 | |
parent | 1c2d7e5363d70ec6b8bb595b5565e27a0c4b05da [diff] |
- On 64-bit platforms, when __len__() returns a value that cannot be represented as a C int, raise OverflowError. (Forward port from 2.4.2; the patch to classobject.c was already in but needed a correction in the error message text.)