forked frompython/cpython
- Notifications
You must be signed in to change notification settings - Fork6
Commit0473fe7
pythonGH-96827: Don't touch closed loops from executor threads (pythonGH-96837)
* When chaining futures, skip callback if loop closed.* When shutting down an executor, don't wake a closed loop.(cherry picked from commite9d6376)Co-authored-by: Guido van Rossum <guido@python.org>1 parent6d7dbcc commit0473fe7
File tree
3 files changed
+7
-2
lines changed- Lib/asyncio
- Misc/NEWS.d/next/Library
3 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
576 | | - | |
| 576 | + | |
| 577 | + | |
577 | 578 | | |
578 | | - | |
| 579 | + | |
| 580 | + | |
579 | 581 | | |
580 | 582 | | |
581 | 583 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| 399 | + | |
| 400 | + | |
399 | 401 | | |
400 | 402 | | |
401 | 403 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments
Comments
(0)