[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2020-05-04 Thread Zachary Ware
Zachary Ware added the comment: With 2.7 out of support, closing. -- nosy: +zach.ware resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2016-09-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: belopolsky -> versions: -Python 2.6, Python 2.7 ___ Python tracker ___

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2012-08-23 Thread moijes12
Changes by moijes12 moije...@gmail.com: -- nosy: +moijes12 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2380 ___ ___ Python-bugs-list mailing

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2012-08-23 Thread moijes12
Changes by moijes12 moije...@gmail.com: -- nosy: -moijes12 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2380 ___ ___ Python-bugs-list mailing

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2010-12-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Not all incompatibilities have to raise a py3k warnings; AFAIK, only those which are not handled by 2to3 do. -- nosy: +benjamin.peterson, pitrou ___ Python tracker rep...@bugs.python.org

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2010-12-01 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: issue2380.diff does not apply anymore. -- assignee: - belopolsky stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2380

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2010-06-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2380 ___ ___ Python-bugs-list

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2010-04-28 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2380 ___ ___ Python-bugs-list

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2008-05-10 Thread Bruno Gola
Bruno Gola [EMAIL PROTECTED] added the comment: Should nested tuples in an except clause be a valid syntax? like: ... except ((ValueError, Exception), TypeError, (...)): pass I don't see any benefit and because of this behavior the implementation (in Python/errors.c and in the patch

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2008-03-17 Thread Alexander Belopolsky
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

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2008-03-17 Thread Guido van Rossum
Changes by Guido van Rossum [EMAIL PROTECTED]: -- keywords: +26backport, easy priority: - low __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2380 __ ___

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2008-03-17 Thread Alexander Belopolsky
Changes by Alexander Belopolsky [EMAIL PROTECTED]: -- keywords: +patch Added file: http://bugs.python.org/file9720/issue2380.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2380 __