-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-34679: Restore instantiation Windows IOCP event loop from non-main thread #15492
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
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.
thread = threading.Thread(target=func) | ||
thread.start() | ||
thread.join() | ||
self.assertTrue(finished) |
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.
Good idea with regards to adding tests to ensure that further optimizations/changes don't accidentally recreate the bug.
Misc/NEWS.d/next/Library/2019-08-25-18-07-48.bpo-34679.HECzL7.rst
Outdated
Show resolved
Hide resolved
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.
Please change the news file per suggestion from @aeros167 (I wasn't able to commit it).
Co-Authored-By: Kyle Stanley <[email protected]>
Co-Authored-By: Kyle Stanley <[email protected]>
@gvanrossum @aeros167 thanks the review. |
@asvetlov: Please replace |
Thanks @asvetlov for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
GH-15512 is a backport of this pull request to the 3.8 branch. |
…n thread (pythonGH-15492) * Restore running proactor event loop from non-main thread Co-Authored-By: Kyle Stanley <[email protected]> (cherry picked from commit 1c06009) Co-authored-by: Andrew Svetlov <[email protected]>
…n thread (GH-15492) * Restore running proactor event loop from non-main thread Co-Authored-By: Kyle Stanley <[email protected]> (cherry picked from commit 1c06009) Co-authored-by: Andrew Svetlov <[email protected]>
…n thread (python#15492) * Restore running proactor event loop from non-main thread Co-Authored-By: Kyle Stanley <[email protected]>
…n thread (python#15492) * Restore running proactor event loop from non-main thread Co-Authored-By: Kyle Stanley <[email protected]>
…n thread (python#15492) * Restore running proactor event loop from non-main thread Co-Authored-By: Kyle Stanley <[email protected]>
https://bugs.python.org/issue34679