This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cool-RR
Recipients cool-RR
Date 2014-05-05.23:11:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399331471.11.0.0301606352774.issue21444@psf.upfronthosting.co.za>
In-reply-to
Content
I want to use big numbers for length.

>>> class A:
...     __len__ = lambda self: 10 ** 20
>>> len(A())
Traceback (most recent call last):
  File "<pyshell#5>", line 1, in <module>
    len(A())
OverflowError: cannot fit 'int' into an index-sized integer
History
Date User Action Args
2014-05-05 23:11:11cool-RRsetrecipients: + cool-RR
2014-05-05 23:11:11cool-RRsetmessageid: <1399331471.11.0.0301606352774.issue21444@psf.upfronthosting.co.za>
2014-05-05 23:11:11cool-RRlinkissue21444 messages
2014-05-05 23:11:10cool-RRcreate