-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
bpo-29883: Asyncio proactor udp #13440
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
…o asyncio-proactor-udp
|
@vstinner would you review this PR? If you have no time please let me know anyway. It is a continuation of #1067 with the following differences:
I believe that the Pull Request is written well and ready for merging. |
Co-Authored-By: Xtreak <tir.karthi@gmail.com>
| return NULL; | ||
| } | ||
|
|
||
| Py_BEGIN_ALLOW_THREADS |
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.
If WSAConnect returns immediately, do we need to release GIL?
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.
Technically it is a syscall.
We have the practice to release GIL on socket.bind() for example
1st1
left a comment
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.
Looks good. Merge with caution as I'm not a Windows expert.
|
Thank you very much @ameily |
Follow-up for #1067
https://bugs.python.org/issue29883