Conversation
…10464 (#10656) 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)
bdraco
approved these changes
Apr 1, 2025
CodSpeed Performance ReportMerging #10658 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## 3.12 #10658 +/- ##
=======================================
Coverage ? 98.10%
=======================================
Files ? 126
Lines ? 37600
Branches ? 2132
=======================================
Hits ? 36886
Misses ? 545
Partials ? 169
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
auto-merge was automatically disabled
April 1, 2025 03:13
Pull request was closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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