Message399781
So there's code generated for an except clause with a variable that clears the variable at the end, so that this works:
try:
...
except Exception as err:
...
print(err) # Should fail, since err was cleared when the except clause exited.
Maybe there's a bug here, either in the runtime or in the way that the code is generated? |
|
Date |
User |
Action |
Args |
2021-08-17 18:55:09 | gvanrossum | set | recipients:
+ gvanrossum, vstinner, chris.jerdonek, lukasz.langa, Mark.Shannon, corona10, pablogsal, miss-islington, iritkatriel |
2021-08-17 18:55:09 | gvanrossum | set | messageid: <1629226509.47.0.613195499609.issue44895@roundup.psfhosted.org> |
2021-08-17 18:55:09 | gvanrossum | link | issue44895 messages |
2021-08-17 18:55:09 | gvanrossum | create | |
|