Message112749
The exceptions cannot change in 2.7.
For 3.1.2
class C:
def __len__(self):
return 2**35
c = C()
len(c)
# gives
OverflowError: cannot fit 'int' into an index-sized integer
Maybe (#2690) that will change.
So I do not see any valid bug or feature request issue. |
|
Date |
User |
Action |
Args |
2010-08-04 03:56:56 | terry.reedy | set | recipients:
+ terry.reedy, loewis, pboddie, r.david.murray |
2010-08-04 03:56:56 | terry.reedy | set | messageid: <1280894216.8.0.749780744872.issue7942@psf.upfronthosting.co.za> |
2010-08-04 03:56:55 | terry.reedy | link | issue7942 messages |
2010-08-04 03:56:55 | terry.reedy | create | |
|