Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: With the attached patch and -3 option:
>>> Exception(1,2,3)[0] __main__:1: DeprecationWarning: In 3.x, __getitem__ is not supported for exception classes, use args attribute 1 >>> Exception(1,2,3)[:] __main__:1: DeprecationWarning: In 3.x, __getslice__ is not supported for exception classes, use args attribute (1, 2, 3) ---------- keywords: +patch Added file: http://bugs.python.org/file9718/issue2379.diff __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2379> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com