Skip to content

Conversation

@eirrgang
Copy link
Contributor

@eirrgangeirrgang commented Jun 9, 2023

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 (GH-24540)


📚 Documentation preview 📚: https://cpython-previews--105543.org.readthedocs.build/

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
Copy link
ContributorAuthor

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.

@eirrgangeirrgang closed this Jun 9, 2023
@eirrgangeirrgang deleted the patch-1 branch June 14, 2023 23:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting reviewdocsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@eirrgang@bedevere-bot