]> granicus.if.org Git - python/commit
bpo-30581: Windows: os.cpu_count() returns wrong number of processors (#2934)
authorChristopher Wilcox <git@crwilcox.com>
Wed, 30 Aug 2017 09:01:08 +0000 (05:01 -0400)
committerAntoine Pitrou <pitrou@free.fr>
Wed, 30 Aug 2017 09:01:08 +0000 (11:01 +0200)
commitc67bae04780f9d7590f9f91b4ee5f31c5d75b3c3
tree2599fdcf438728cf0e0679470327a2e94f93e8e7
parent390eadd6d041611511dc761bc7d4581530dbd287
bpo-30581: Windows: os.cpu_count() returns wrong number of processors (#2934)

* Fixes #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
Misc/NEWS.d/next/Windows/2017-08-04-10-05-19.bpo-30581.OQhR7l.rst [new file with mode: 0644]
Modules/posixmodule.c