-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
asyncio
ProactorEventLoop
didn't check if the socket
is blocking
#113892
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
Labels
Comments
Oh, interesting. The question is, does async sending and receiving using that blocked socket work when using the |
ok |
Eclips4
added a commit
to Eclips4/cpython
that referenced
this issue
May 24, 2024
…ure that the given socket is in non-blocking mode
gvanrossum
pushed a commit
that referenced
this issue
Jun 1, 2024
…nsure that the given socket is in non-blocking mode (#119519)
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 1, 2024
…` to ensure that the given socket is in non-blocking mode (pythonGH-119519) (cherry picked from commit cf3bba3) Co-authored-by: Kirill Podoprigora <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 1, 2024
…` to ensure that the given socket is in non-blocking mode (pythonGH-119519) (cherry picked from commit cf3bba3) Co-authored-by: Kirill Podoprigora <[email protected]>
gvanrossum
pushed a commit
that referenced
this issue
Jun 1, 2024
…t` to ensure that the given socket is in non-blocking mode (GH-119519) (#119912) (cherry picked from commit cf3bba3) Co-authored-by: Kirill Podoprigora <[email protected]>
gvanrossum
pushed a commit
that referenced
this issue
Jun 1, 2024
…t` to ensure that the given socket is in non-blocking mode (GH-119519) (#119913) (cherry picked from commit cf3bba3) Co-authored-by: Kirill Podoprigora <[email protected]>
barneygale
pushed a commit
to barneygale/cpython
that referenced
this issue
Jun 5, 2024
…` to ensure that the given socket is in non-blocking mode (python#119519)
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
…` to ensure that the given socket is in non-blocking mode (python#119519)
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
…` to ensure that the given socket is in non-blocking mode (python#119519)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
according to https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.sock_connect and
cpython/Lib/asyncio/selector_events.py
Lines 617 to 630 in 5d8a3e7
it should raise. however,
ProactorEventLoop
doesn't follow the ruleshould we fix this, any thoughts
CPython versions tested on:
3.12
Operating systems tested on:
Windows
Linked PRs
ProactorEventLoop.sock_connect
to ensure that the given socket is in non-blocking mode #119519ProactorEventLoop.sock_connect
to ensure that the given socket is in non-blocking mode (GH-119519) #119912ProactorEventLoop.sock_connect
to ensure that the given socket is in non-blocking mode (GH-119519) #119913The text was updated successfully, but these errors were encountered: