Commit 2215882
bpo-44422: Fix threading.enumerate() reentrant call (pythonGH-26727)
The threading.enumerate() function now uses a reentrant lock to
prevent a hang on reentrant call.
(cherry picked from commit 243fd01)
Co-authored-by: Victor Stinner <vstinner@python.org>1 parent 0d0a9ea commit 2215882
File tree
2 files changed
+9
-3
lines changed- Lib
- Misc/NEWS.d/next/Library
2 files changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
753 | | - | |
754 | | - | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
755 | 758 | | |
756 | 759 | | |
757 | 760 | | |
| |||
1474 | 1477 | | |
1475 | 1478 | | |
1476 | 1479 | | |
1477 | | - | |
| 1480 | + | |
1478 | 1481 | | |
1479 | 1482 | | |
1480 | 1483 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments