Commit 06db052
authored
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
1 parent f3b0610 commit 06db052
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 | |
|---|---|---|---|
| |||
1119 | 1119 | | |
1120 | 1120 | | |
1121 | 1121 | | |
1122 | | - | |
1123 | 1122 | | |
1124 | 1123 | | |
1125 | 1124 | | |
| |||
1132 | 1131 | | |
1133 | 1132 | | |
1134 | 1133 | | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
| 1134 | + | |
1140 | 1135 | | |
1141 | 1136 | | |
1142 | 1137 | | |
| |||
1145 | 1140 | | |
1146 | 1141 | | |
1147 | 1142 | | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
1151 | | - | |
1152 | | - | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | 1143 | | |
1158 | 1144 | | |
1159 | 1145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
646 | 646 | | |
647 | 647 | | |
648 | 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 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | 649 | | |
700 | 650 | | |
701 | 651 | | |
| |||
0 commit comments