Author lukasz.langa
Recipients Ben.Darnell, Big Stone, asvetlov, carltongibson, lukasz.langa, mikeshardmind, njs, steve.dower, yselivanov
Date 2020-04-19.17:13:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587316420.96.0.697873552382.issue37373@roundup.psfhosted.org>
In-reply-to
Content
I'd be +1 to bringing uvloop into the stdlib, it would solve many things while introducing an acceptable dependency in the form of libuv.

However, uvloop itself is written in Cython which makes it impossible for us to directly merge it. So that option is pretty much off the table as rewriting the library is not something we have resources for right now.

Ben, Nathaniel is onto something though. Would it be acceptable for you to *require* use of uvloop when Tornado is used with AsyncIO? That indeed solves the Windows problems, and more. I use uvloop in all asyncio applications I maintain (*except for Black which is tested to work on Windows with the Proactor loop).

For Python 3.9, it is a bit late, but not *too late* yet, to make the Proactor loop support AFD_POLL. Maybe counter-intuitively I would feel better about *that* rather than have a background thread with a SelectorEventLoop.
History
Date User Action Args
2020-04-19 17:13:41lukasz.langasetrecipients: + lukasz.langa, njs, asvetlov, Ben.Darnell, yselivanov, steve.dower, Big Stone, mikeshardmind, carltongibson
2020-04-19 17:13:40lukasz.langasetmessageid: <1587316420.96.0.697873552382.issue37373@roundup.psfhosted.org>
2020-04-19 17:13:40lukasz.langalinkissue37373 messages
2020-04-19 17:13:40lukasz.langacreate