Content-Length: 293873 | pFad | https://github.com/python/cpython/pull/110226

7D [3.11] [3.12] gh-109649: Enhance os.cpu_count() documentation (GH-110169) by miss-islington · Pull Request #110226 · python/cpython · GitHub
Skip to content

[3.11] [3.12] gh-109649: Enhance os.cpu_count() documentation (GH-110169)#110226

Merged
gpshead merged 1 commit intopython:3.11from
miss-islington:backport-5245b97-3.11
Oct 3, 2023
Merged

[3.11] [3.12] gh-109649: Enhance os.cpu_count() documentation (GH-110169)#110226
gpshead merged 1 commit intopython:3.11from
miss-islington:backport-5245b97-3.11

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Oct 2, 2023

Co-authored-by: Victor Stinner vstinner@python.org


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

…H-110169)

* pythongh-109649: Enhance os.cpu_count() documentation

* Doc: Specify that os.cpu_count() counts *logicial* CPUs.
* Doc: Specify that os.sched_getaffinity(0) is related to the calling
  thread.
* Fix test_posix.test_sched_getaffinity(): restore the old CPU mask
  when the test completes!

* Restore removed text
(cherry picked from commit 5245b97)

Co-authored-by: Victor Stinner <vstinner@python.org>
@gpshead gpshead merged commit bf6843e into python:3.11 Oct 3, 2023
@miss-islington miss-islington deleted the backport-5245b97-3.11 branch October 3, 2023 01:37
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 news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/110226

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy