Author pablogsal
Recipients BTaskaya, james, pablogsal, serhiy.storchaka, vstinner, xtreak
Date 2019-10-19.21:24:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> But the problem is that making a reference to the object we can prolong its lifetime and even create a reference loop.

If I'm not mistaken, as long as the traceback is alive, the object is alive beacuse the frames will contain it. The other case is if the exception is not propagated, but in that case it should just die unless explicitly captured. There is a link you can find to previous discussions?

The cycle only happens if the object has a reference to the exception, and that should not happen in the general case.
Date User Action Args
2019-10-19 21:24:49pablogsalunlinkissue38530 messages
2019-10-19 21:24:13pablogsalsetrecipients: + pablogsal, vstinner, serhiy.storchaka, james, xtreak, BTaskaya
2019-10-19 21:24:13pablogsalsetmessageid: <>
2019-10-19 21:24:13pablogsallinkissue38530 messages
2019-10-19 21:24:13pablogsalcreate