Message393368
A hiccup to using uvloop is that it doesn't support Windows yet (https://github.com/MagicStack/uvloop/issues/14), so it can't be used in the affected environment.
I'm exploring this again for pyzmq / Jupyter, and currently investigating relying on tornado's AddThread loop functionality. It's even slightly easier for tornado, which can reasonably set the proactor-wrapper policy at IOLoop start time, which means `asyncio.get_event_loop()` returns a loop with add_reader. But pyzmq doesn't get invoked until an event loop is already running. That means the selector thread needs to work not as a wrapper of the loop itself, as in tornado's AddThreadSelector, but attached after-the-fact. Using tornado's AddThread seems to work for this, but I'm not sure that should be assumed. |
|
Date |
User |
Action |
Args |
2021-05-10 09:04:30 | minrk | set | recipients:
+ minrk, njs, asvetlov, lukasz.langa, Ben.Darnell, yselivanov, steve.dower, Big Stone, cmeyer, mikeshardmind, jack1142, carltongibson |
2021-05-10 09:04:30 | minrk | set | messageid: <1620637470.24.0.120313670017.issue37373@roundup.psfhosted.org> |
2021-05-10 09:04:30 | minrk | link | issue37373 messages |
2021-05-10 09:04:30 | minrk | create | |
|