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 r.david.murray
Recipients mark.dickinson, owirj, r.david.murray
Date 2010-03-29.13:13:06
SpamBayes Score 4.29675e-06
Marked as misclassified No
Message-id <1269868388.89.0.157032997381.issue8259@psf.upfronthosting.co.za>
In-reply-to
Content
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 :)
History
Date User Action Args
2010-03-29 13:13:09r.david.murraysetrecipients: + r.david.murray, mark.dickinson, owirj
2010-03-29 13:13:08r.david.murraysetmessageid: <1269868388.89.0.157032997381.issue8259@psf.upfronthosting.co.za>
2010-03-29 13:13:07r.david.murraylinkissue8259 messages
2010-03-29 13:13:06r.david.murraycreate