Message101889
This appears to be working as designed, and so is probably a doc issue. Python 3, which only has one integer type, has the same behavior:
>>> x = 2677691728509 << 2147483648
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: Python int too large to convert to C long
Adding Mark Dickinson as nosy to get his opinion on whether this is a doc bug or a feature request :) |
|
Date |
User |
Action |
Args |
2010-03-29 13:13:09 | r.david.murray | set | recipients:
+ r.david.murray, mark.dickinson, owirj |
2010-03-29 13:13:08 | r.david.murray | set | messageid: <1269868388.89.0.157032997381.issue8259@psf.upfronthosting.co.za> |
2010-03-29 13:13:07 | r.david.murray | link | issue8259 messages |
2010-03-29 13:13:06 | r.david.murray | create | |
|