R. David Murray <rdmur...@bitdance.com> added the comment: 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 :) ---------- components: +Interpreter Core -None nosy: +mark.dickinson, r.david.murray priority: -> normal stage: -> test needed versions: +Python 2.7, Python 3.1, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8259> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com