summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorChristopher Wilcox <git@crwilcox.com>2017-08-30 09:01:08 (GMT)
committerAntoine Pitrou <pitrou@free.fr>2017-08-30 09:01:08 (GMT)
commitc67bae04780f9d7590f9f91b4ee5f31c5d75b3c3 (patch)
tree2599fdcf438728cf0e0679470327a2e94f93e8e7 /Misc
parent390eadd6d041611511dc761bc7d4581530dbd287 (diff)
downloadcpython-c67bae04780f9d7590f9f91b4ee5f31c5d75b3c3.zip
cpython-c67bae04780f9d7590f9f91b4ee5f31c5d75b3c3.tar.gz
cpython-c67bae04780f9d7590f9f91b4ee5f31c5d75b3c3.tar.bz2
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
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Windows/2017-08-04-10-05-19.bpo-30581.OQhR7l.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Windows/2017-08-04-10-05-19.bpo-30581.OQhR7l.rst b/Misc/NEWS.d/next/Windows/2017-08-04-10-05-19.bpo-30581.OQhR7l.rst
new file mode 100644
index 0000000..6591fa0
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2017-08-04-10-05-19.bpo-30581.OQhR7l.rst
@@ -0,0 +1,2 @@
+os.cpu_count() now returns the correct number of processors on Windows
+when the number of logical processors is greater than 64.