Skip to content

Docs fix-up: Remove references to ProcessPoolExecutor from asyncio-dev.rst - #105543

Closed
eirrgang wants to merge 1 commit into
python:mainfrom
eirrgang:patch-1
Closed

Docs fix-up: Remove references to ProcessPoolExecutor from asyncio-dev.rst#105543
eirrgang wants to merge 1 commit into
python:mainfrom
eirrgang:patch-1

Conversation

@eirrgang

@eirrgangeirrgang commented Jun 9, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
@eirrgang
eirrgang 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