Skip to content

tornado: use WindowsSelectorEventLoopPolicy() with Python 3.8 - #65

Merged
vstinner merged 1 commit into
python:masterfrom
lazka:tornado-force-win-event-loop
Jul 30, 2019
Merged

vstinner merged 1 commit into
python:masterfrom
lazka:tornado-force-win-event-loop

Conversation

@lazka

@lazka lazka commented Jul 23, 2019 •

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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
Copy Markdown
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