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

Finish transition to our own maybe_future #4453

Merged
merged 2 commits into from
Mar 7, 2019

Conversation

minrk
Copy link
Member

@minrk minrk commented Mar 6, 2019

Tornado's gen.maybe_future is deprecated in 5.0 and doesn't suppport asyncio coroutines, which start showing up in some base methods (WebSocketHandler.get) in tornado 6.

#4449 monkeypatches the deprecated tornado gen.maybe_future for compatibility with asyncio, to keep the patch small for backporting.

This removes the monkeypatch, adopting our own multi_future throughout.

minrk added 2 commits March 6, 2019 10:52
instead of the monkeypatch we did to keep the backport patch small

requiring tornado 5 simplifies things a ton because tornado.concurrent.Future is asyncio.Future
3.4 doesn't have isawaitable

remove unsupported combinations from test matrix
Copy link
Member

@willingc willingc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @minrk

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

Successfully merging this pull request may close these issues.

2 participants