]> granicus.if.org Git - python/commit
- On 64-bit platforms, when __len__() returns a value that cannot be
authorGuido van Rossum <guido@python.org>
Tue, 20 Sep 2005 18:49:54 +0000 (18:49 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 20 Sep 2005 18:49:54 +0000 (18:49 +0000)
commit630db60a5533a3267e2cc07047498fad604e3c91
tree9ce39ac2901a390b493b0af3aaf26989e4d52747
parent1c2d7e5363d70ec6b8bb595b5565e27a0c4b05da
- 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.)
Misc/NEWS
Objects/classobject.c
Objects/typeobject.c