Message347556
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. |
|
Date |
User |
Action |
Args |
2019-07-09 12:37:40 | vstinner | set | recipients:
+ vstinner |
2019-07-09 12:37:40 | vstinner | set | messageid: <1562675860.2.0.485661133154.issue37526@roundup.psfhosted.org> |
2019-07-09 12:37:40 | vstinner | link | issue37526 messages |
2019-07-09 12:37:40 | vstinner | create | |
|