Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Add clarification on multiprocessing.cpu_count #23660

Merged
merged 2 commits into from
Sep 17, 2021

Conversation

eamanu
Copy link
Contributor

@eamanu eamanu commented Dec 5, 2020

From a not native English speaker: reading the documentation on the
last phrase on cpu_count section says: May raise NotImplementedError
that sound like the exception is raised randomly. So, this patch
add the explanation that the NotImplementedError is raised when the
number of CPUs cannot be determined.

From a not native English speaker: reading the documentation the
last phrase on cput_count section say: `May raise NotImplementedError`
that sound like the exception is raised randomly. So, this patch
add the explantion that the NotImplementedError is raised when the
number of CPUs cannot be determined.
Doc/library/multiprocessing.rst Outdated Show resolved Hide resolved
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Jan 5, 2021

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Jan 5, 2021
@ambv ambv merged commit 24dbe30 into python:main Sep 17, 2021
@miss-islington
Copy link
Contributor

Thanks @eamanu for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 17, 2021
Previous wording didn't explain the slightly unintuitive behavior.

Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 24dbe30)

Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
@bedevere-bot
Copy link

GH-28433 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Sep 17, 2021
@bedevere-bot
Copy link

GH-28434 is a backport of this pull request to the 3.9 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Sep 17, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 17, 2021
Previous wording didn't explain the slightly unintuitive behavior.

Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 24dbe30)

Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
ambv pushed a commit that referenced this pull request Sep 17, 2021
…-28433)

Previous wording didn't explain the slightly unintuitive behavior.

Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 24dbe30)

Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
ambv pushed a commit that referenced this pull request Sep 17, 2021
…-28434)

Previous wording didn't explain the slightly unintuitive behavior.

Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 24dbe30)

Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
niyas-sait pushed a commit to niyas-sait/cpython that referenced this pull request Sep 21, 2021
Previous wording didn't explain the slightly unintuitive behavior.

Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
pablogsal pushed a commit that referenced this pull request Sep 29, 2021
…-28433)

Previous wording didn't explain the slightly unintuitive behavior.

Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 24dbe30)

Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news stale Stale PR or inactive for long period of time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants