Skip to content
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

tornado: use WindowsSelectorEventLoopPolicy() with Python 3.8 #65

Merged
merged 1 commit into from
Jul 30, 2019

Conversation

lazka
Copy link
Collaborator

@lazka lazka commented Jul 23, 2019

Python 3.8 changed the default event loop to ProactorEventLoop which doesn't
implement everything required by tornado and breaks the benchmark.

This makes WindowsSelectorEventLoop the default again like suggested in:
tornadoweb/tornado#2686

Limit to 3.8 only in the hopes that the new event loop supports the required
methods with 3.9.

Fixes #61

@vstinner
Copy link
Member

cc @methane

Python 3.8 changed the default event loop to ProactorEventLoop which doesn't
implement everything required by tornado and breaks the benchmark.

This makes WindowsSelectorEventLoop the default again like suggested in:
tornadoweb/tornado#2686

Limit to 3.8 only in the hopes that the new event loop supports the required
methods with 3.9.

Fixes python#61
@lazka lazka force-pushed the tornado-force-win-event-loop branch from b87917f to d8cd178 Compare July 29, 2019 18:44
@vstinner vstinner merged commit 98e9f05 into python:master Jul 30, 2019
@vstinner
Copy link
Member

Thanks. I merged your PR.

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.

tornado fails with 3.8.0b2 on Windows
2 participants