]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30581: Windows: os.cpu_count() returns wrong number of processors (#2934) (#3267)
authorChristopher Wilcox <git@crwilcox.com>
Fri, 1 Sep 2017 19:28:47 +0000 (15:28 -0400)
committerAntoine Pitrou <pitrou@free.fr>
Fri, 1 Sep 2017 19:28:47 +0000 (21:28 +0200)
commit58521fdba1657f6553a1ead5cbaa100967a167b3
tree56c7a06b75dae625e04022292c662cd9fb68e8a6
parentea767915f7476c1fe97f7b1a53304d57f105bdd2
bpo-30581: Windows: os.cpu_count() returns wrong number of processors (#2934) (#3267)

* 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