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 vstinner
Recipients vstinner
Date 2019-07-09.12:37:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562675860.2.0.485661133154.issue37526@roundup.psfhosted.org>
In-reply-to
Content
Maybe the context manager could recreate attributes (set them to None) if the context manager is used wice, but I'm not sure that I don't want to promote to reuse catch_threading_exception().

I didn't check if catch_threading_exception() creates a ref cycle. I guess so. It's likely than storing an exception creates a ref cycle. Anyway, __exit__() removes attributes.
History
Date User Action Args
2019-07-09 12:37:40vstinnersetrecipients: + vstinner
2019-07-09 12:37:40vstinnersetmessageid: <1562675860.2.0.485661133154.issue37526@roundup.psfhosted.org>
2019-07-09 12:37:40vstinnerlinkissue37526 messages
2019-07-09 12:37:40vstinnercreate