Commit 7f7d681
**This is a backport of PR #10656 as merged into master
(06db052).**
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
Co-authored-by: J. Nick Koston <[email protected]>
1 parent b93993d commit 7f7d681
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 | |
|---|---|---|---|
| |||
1108 | 1108 | | |
1109 | 1109 | | |
1110 | 1110 | | |
1111 | | - | |
1112 | 1111 | | |
1113 | 1112 | | |
1114 | 1113 | | |
| |||
1120 | 1119 | | |
1121 | 1120 | | |
1122 | 1121 | | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
1127 | | - | |
| 1122 | + | |
1128 | 1123 | | |
1129 | 1124 | | |
1130 | 1125 | | |
| |||
1133 | 1128 | | |
1134 | 1129 | | |
1135 | 1130 | | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | 1131 | | |
1146 | 1132 | | |
1147 | 1133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
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 | 620 | | |
671 | 621 | | |
672 | 622 | | |
| |||
0 commit comments