Eli Bendersky <eli...@gmail.com> added the comment: The attached patch changes the exception thrown to IndexError, as well as aligning the error message to the one thrown by list.
---------- keywords: +patch Added file: http://bugs.python.org/file20986/issue11386.1.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11386> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com