Repository navigation
Commit e0a031d
committed
Fix CI: break exception ref cycle in _MapResultIterator.__next__ (gh-74028)
Hold exc across 'raise exc' keeps the frame in the exception's referrers via
its traceback; clear it in a finally like the interpreter.py fix so the
strengthened test_map_exception passes for all pool types.
Co-authored-by: Muse Code (Meta Muse Spark)1 parent fb0c522 commit e0a031d
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
726 | | - | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
727 | 731 | | |
728 | 732 | | |
729 | 733 | | |
| |||
0 commit comments