-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
bpo-33166: Change os.cpu_count to return active (real) processors #15949
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
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 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. |
Ping @zware |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…thonGH-15949) (cherry picked from commit aa92927) Co-authored-by: Steve Dower <steve.dower@python.org>
GH-15979 is a backport of this pull request to the 3.8 branch. |
https://bugs.python.org/issue33166