[issue37526] Add support.catch_threading_exception()
STINNER Victor
report at bugs.python.org
Tue Jul 9 08:37:40 EDT 2019
STINNER Victor <vstinner at redhat.com> added the comment:
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.
----------
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37526>
_______________________________________
More information about the Python-bugs-list
mailing list