bpo-33166: Change os.cpu_count to return active (real) processors#15949
Conversation
|
Note that I added the prototype rather than changing the Windows version in pyconfig.h. This is so it's safe to backport to 3.8. In a later PR I'll update the API version. |
Sorry, something went wrong.
|
When you're done making the requested changes, leave the comment: |
Sorry, something went wrong.
|
I don't want to backport the WINNT_VER change because we have so much stuff that tries to auto-detect macros, and that may introduce new macros. It's a little late in the release cycle for that. |
Sorry, something went wrong.
|
Ping @zware |
Sorry, something went wrong.
zware
left a comment
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
…thonGH-15949) (cherry picked from commit aa92927) Co-authored-by: Steve Dower <steve.dower@python.org>
https://bugs.python.org/issue33166