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 guijarro
Recipients guijarro, mark.dickinson, nanjekyejoannah, nascheme, pablogsal
Date 2021-10-22.14:12:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634911926.98.0.13053511277.issue45555@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-10-22 14:12:07guijarrosetrecipients: + guijarro, nascheme, mark.dickinson, pablogsal, nanjekyejoannah
2021-10-22 14:12:06guijarrosetmessageid: <1634911926.98.0.13053511277.issue45555@roundup.psfhosted.org>
2021-10-22 14:12:06guijarrolinkissue45555 messages
2021-10-22 14:12:06guijarrocreate