Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bpo-30581: Backport to 3.6: Windows: os.cpu_count() returns wrong number of processors #3267

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

Merged
merged 1 commit into from
Sep 1, 2017

Conversation

crwilcox
Copy link
Contributor

@crwilcox crwilcox commented Sep 1, 2017

Related: bpo-30581: Windows: os.cpu_count() returns wrong number of processors #2934

https://bugs.python.org/issue30581

…python#2934)

* Fixes python#30581 by adding a path to use newer GetMaximumProcessorCount API on Windows calls to os.cpu_count()

* Add NEWS.d entry for bpo-30581, os.cpu_count on Windows.

* Tweak NEWS entry
@crwilcox crwilcox changed the title Backport bp0-30581 to 3.6: Windows: os.cpu_count() returns wrong number of processors bp0-30581: Backport to 3.6: Windows: os.cpu_count() returns wrong number of processors Sep 1, 2017
@crwilcox crwilcox changed the title bp0-30581: Backport to 3.6: Windows: os.cpu_count() returns wrong number of processors bpo-30581: Backport to 3.6: Windows: os.cpu_count() returns wrong number of processors Sep 1, 2017
@pitrou
Copy link
Member

pitrou commented Sep 1, 2017

Thank you for the backport! Now merging.

@pitrou pitrou merged commit 58521fd into python:3.6 Sep 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants