Commit 779f021
Reverts #10464
While this change improved the situation for uvloop users, it caused a
regression with `SelectorEventLoop` (issue #10617)
The alternative fix is MagicStack/uvloop#646
(not merged at the time of this PR)
issue #10617 appears to be very similar to
python/cpython@d5aeccf
If someone can come up with a working reproducer for #10617 we can
revisit this.
cc @top-oai
Minimal implementation that shows on cancellation the socket is cleaned
up without the explicit `close`
#10617 (comment)
so this should be unneeded unless I've missed something (very possible
with all the moving parts here)
## Related issue number
fixes #10617
(cherry picked from commit 06db052)
1 parent 7c3c536 commit 779f021
File tree
5 files changed
+6
-65
lines changed- CHANGES
- aiohttp
- tests
5 files changed
+6
-65
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
1129 | | - | |
1130 | 1129 | | |
1131 | 1130 | | |
1132 | 1131 | | |
| |||
1139 | 1138 | | |
1140 | 1139 | | |
1141 | 1140 | | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
| 1141 | + | |
1147 | 1142 | | |
1148 | 1143 | | |
1149 | 1144 | | |
| |||
1152 | 1147 | | |
1153 | 1148 | | |
1154 | 1149 | | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
1158 | | - | |
1159 | | - | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
1163 | | - | |
1164 | 1150 | | |
1165 | 1151 | | |
1166 | 1152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | 630 | | |
681 | 631 | | |
682 | 632 | | |
| |||
0 commit comments