-
-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
asyncio ProactorEventLoop didn't check if the socket is blocking
#113892
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 <kirill.bast9@mail.ru>
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 <kirill.bast9@mail.ru>
This was referenced Jun 1, 2024
gvanrossum
pushed a commit
that referenced
this issue
Jun 1, 2024
gvanrossum
pushed a commit
that referenced
this issue
Jun 1, 2024
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)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

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,
ProactorEventLoopdoesn't follow the ruleshould we fix this, any thoughts
CPython versions tested on:
3.12
Operating systems tested on:
Windows
Linked PRs
ProactorEventLoop.sock_connectto ensure that the given socket is in non-blocking mode #119519ProactorEventLoop.sock_connectto ensure that the given socket is in non-blocking mode (GH-119519) #119912ProactorEventLoop.sock_connectto ensure that the given socket is in non-blocking mode (GH-119519) #119913The text was updated successfully, but these errors were encountered: