◐ Shell
clean mode source ↗

Docs fix-up: Remove references to ProcessPoolExecutor from asyncio-dev.rst by eirrgang · Pull Request #105543 · python/cpython

Conversation

@eirrgang

@eirrgang eirrgang commented

Jun 9, 2023

edited by github-actions Bot

Loading

ddd5f36 updated asyncio-eventloop.rst, but overlooked other references to using non-ThreadPoolExecutors with `run_in_executor()`.

Ref bpo-43234: Prohibit non-ThreadPoolExecutor in loop.set_default_executor (pythonGH-24540)

@eirrgang

I think I may have misinterpreted the update and the documentation. It looks like it is only set_default_executor for which ProcessPoolExecutor has been disallowed. A ProcessPoolExecutor instance can still be passed to run_in_executor() as an argument.

Labels

2 participants

@eirrgang @bedevere-bot