Message404771
About the reference in exception: I thought that Python 3 didn't have
the need for `sys.exc_clear()` (which has been removed), specifically
for this kind of problem.
The code I use is in fact more complex than the small snippet I posted
here to reproduce the (presumed) bug ; what I see, is that the reference
is **never** removed. The weakref cannot die.
My program is a REPL, I want exceptions to bubble up to users, so
catching it before it reaches the user layer is not so great. |
|
Date |
User |
Action |
Args |
2021-10-22 14:12:07 | guijarro | set | recipients:
+ guijarro, nascheme, mark.dickinson, pablogsal, nanjekyejoannah |
2021-10-22 14:12:06 | guijarro | set | messageid: <1634911926.98.0.13053511277.issue45555@roundup.psfhosted.org> |
2021-10-22 14:12:06 | guijarro | link | issue45555 messages |
2021-10-22 14:12:06 | guijarro | create | |
|