This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2012-12-17.19:38:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1355773125.79.0.0457031741632.issue16703@psf.upfronthosting.co.za>
In-reply-to
Content
Example:

>>> err = None
>>> try: raise ValueError
... except ValueError as err: pass
... 
>>> err
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'err' is not defined

It is expected that either the variable will have the catched value, or save the old value, or the compiler will raise an error. But it didn't even warns.
History
Date User Action Args
2012-12-17 19:38:45serhiy.storchakasetrecipients: + serhiy.storchaka
2012-12-17 19:38:45serhiy.storchakasetmessageid: <1355773125.79.0.0457031741632.issue16703@psf.upfronthosting.co.za>
2012-12-17 19:38:45serhiy.storchakalinkissue16703 messages
2012-12-17 19:38:44serhiy.storchakacreate