Serhiy Storchaka added the comment: Compare with tuple:
>>> (1, 2)[2**1000] Traceback (most recent call last): File "<stdin>", line 1, in <module> IndexError: cannot fit 'int' into an index-sized integer ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10203> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com