Message341352
In Python 3.7 loop.run_in_executor() is the only user-faced method that requires a loop.
asyncio.ThreadPool() sounds great. Maybe thread group can provide better api.
But for Python 3.8 adding `run_in_executor` top-level function looks the only easy and obvious way to help people getting rid of explicit loop usage.
Yuri, what do you think? |
|
Date |
User |
Action |
Args |
2019-05-03 19:22:03 | asvetlov | set | recipients:
+ asvetlov, yselivanov |
2019-05-03 19:22:03 | asvetlov | set | messageid: <1556911323.77.0.733439136682.issue32309@roundup.psfhosted.org> |
2019-05-03 19:22:03 | asvetlov | link | issue32309 messages |
2019-05-03 19:22:03 | asvetlov | create | |
|