New submission from Alexander Belopolsky <[EMAIL PROTECTED]>: As of r61478, the following code fails to produce a py3k warning:
try: raise ValueError except ((ValueError,object),): pass which is an error for in py3k: Traceback (most recent call last): File "x.py", line 3, in <module> except ((ValueError,object),): TypeError: catching classes that do not inherit from BaseException is not allowed ---------- components: Interpreter Core messages: 63875 nosy: belopolsky severity: normal status: open title: Raise a Py3K warning for catching nested tuples with non-BaseException exceptions type: behavior versions: Python 2.6 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2380> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com