Message411029
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 |
|
Date |
User |
Action |
Args |
2022-01-20 15:41:18 | eric.smith | set | recipients:
+ eric.smith, yellowdusk1590 |
2022-01-20 15:41:17 | eric.smith | set | messageid: <1642693277.9.0.424293461059.issue46442@roundup.psfhosted.org> |
2022-01-20 15:41:17 | eric.smith | link | issue46442 messages |
2022-01-20 15:41:17 | eric.smith | create | |
|