-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-76002: asyncio: allow pause_reading() from connection_made() #4053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hm. We'll need to run tests from the uvloop (has more functional tests) project with this patch. |
But I like the change. Let me think about it for a few days. |
No pb! |
@1st1 any update here? |
self._loop.call_soon(self._loop._add_reader, | ||
self._sock_fd, self._read_ready) | ||
if waiter is not None: | ||
def _call_connection_made(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Convert nested function into instance method maybe?
I like the PR but the came approach should be added to all transports (SSL and pipes) IMHO. |
I removed the " needs backport to 3.6" label, the 3.6 branch no longer accept bugfixes (only security fixes are accepted): https://devguide.python.org/#status-of-python-branches |
This PR is stale because it has been open for 30 days with no activity. |
This PR is stale because it has been open for 30 days with no activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are merge conflicts.
When you're done making the requested changes, leave the comment: |
This PR is stale because it has been open for 30 days with no activity. |
Closing as there are merge conflicts. |
Uh oh!
There was an error while loading. Please reload this page.