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

Compat for Python 2.7 #9

Closed
HelloGrayson opened this issue May 4, 2016 · 8 comments
Closed

Compat for Python 2.7 #9

HelloGrayson opened this issue May 4, 2016 · 8 comments
Labels

Comments

@HelloGrayson
Copy link

Would love to look at adopting uvloop in a number of high-scale tornado apps we have in production. Those are running Python 2.7 - what's stopping this library from adding support?

@1st1
Copy link
Member

1st1 commented May 4, 2016

uvloop implements an asyncio-compliant event loop. It will have to be heavily reengineered to support both asyncio and Tornado (basically we'll have to re-implement a lot of Tornado in uvloop), and unfortunately, I don't have resources to do that.

@1st1 1st1 added the question label May 4, 2016
@zet4
Copy link

zet4 commented May 4, 2016

What's stopping you from porting your apps to 3.5+ instead?

@HelloGrayson
Copy link
Author

HelloGrayson commented May 4, 2016

Tornado has a asyncio bridge though.

http://www.tornadoweb.org/en/stable/asyncio.html

On May 4, 2016, at 12:37 PM, Aleksandr Tihomirov notifications@github.com wrote:

What's stopping you from porting your apps to 3.5+ instead?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

@1st1
Copy link
Member

1st1 commented May 4, 2016

Tornado has a asyncio bridge though.

Didn't know about that. I think that bridge is only operational under Python 3, though, since asyncio requires at least 3.3. Am I right?

@HelloGrayson
Copy link
Author

asyncio requires at least 3.3

That's right. I'm going to play with uvloop, tornado, & trollius (asyncio to 2.7 port).

Will followup.

@ludovic-gasc
Copy link

to my knowledge, trollius is deprecated.

I don't know your codebase, however, it should less "dangerous" / more stable way to migrate first your source code to python 3 with tornado.

@1st1 1st1 changed the title Compat for Python >= 2.7 Compat for Python 2.7 May 5, 2016
@HelloGrayson
Copy link
Author

Fair point, thanks

@schlamar
Copy link

@breerly Have you seen https://github.com/saghul/tornaduv

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

No branches or pull requests

5 participants