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 eric.smith
Recipients eric.smith, yellowdusk1590
Date 2022-01-20.15:41:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642693277.9.0.424293461059.issue46442@roundup.psfhosted.org>
In-reply-to
Content
I don't know for sure, but maybe it's trying to test "del" interacting with the fact that the "as e" part doesn't escape the "except" clause, unlike normal assignments:

>>> try:
...     raise Exception
... except Exception as e:
...     print('exception raised')
...     foo = 1
...
exception raised
>>> foo
1
>>> e
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'e' is not defined
History
Date User Action Args
2022-01-20 15:41:18eric.smithsetrecipients: + eric.smith, yellowdusk1590
2022-01-20 15:41:17eric.smithsetmessageid: <1642693277.9.0.424293461059.issue46442@roundup.psfhosted.org>
2022-01-20 15:41:17eric.smithlinkissue46442 messages
2022-01-20 15:41:17eric.smithcreate