Skip to content

Fix OSError: [WinError 6] The handle is invalid on Windows, close #1433 #1434

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joaompinto
Copy link

No description provided.

@jonathanslenders
Copy link
Member

I think it's this bug: https://bugs.python.org/issue39010

A fix was pushed to all Python releases having this bug: python/cpython#22066

The ProactorLoop is considered better then the SelectorLoop, so we can probably do this, but only if it doesn't change the default for newer Python versions. I'd also prefer if it was not an import-time side effect. (but rather in a Application.run() or somewhere like that.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants