Nick Coghlan added the comment:

It seems to me that this kind of dubious-but-legal code is what 
http://docs.python.org/3/library/exceptions.html#SyntaxWarning is designed to 
handle.

Something like "SyntaxWarning: implicitly deleted exception variable referenced 
after end of except clause".

----------
nosy: +ncoghlan

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17792>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to