bpo-33166: Change os.cpu_count to return active (real) processors by zooba · Pull Request #15949 · python/cpython
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.
When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.
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.
I have made the requested changes; please review again
Ping @zware
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
zooba
mentioned this pull request
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Sep 11, 2019…thonGH-15949) (cherry picked from commit aa92927) Co-authored-by: Steve Dower <steve.dower@python.org>
miss-islington added a commit that referenced this pull request
Sep 11, 2019This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters