Message217957
| 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:11 | cool-RR | set | recipients:
+ cool-RR |
| 2014年05月05日 23:11:11 | cool-RR | set | messageid: <1399331471.11.0.0301606352774.issue21444@psf.upfronthosting.co.za> |
| 2014年05月05日 23:11:11 | cool-RR | link | issue21444 messages |
| 2014年05月05日 23:11:10 | cool-RR | create |
|