Author davin
Recipients davin, jtaylor, neologix
Date 2015-02-26.17:23:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424971390.54.0.817315908285.issue23530@psf.upfronthosting.co.za>
In-reply-to
Content
Detecting the number of processors available to a process is a distinct concept from reporting the number of processors present on a system.  cpu_count is currently focused on the latter.

Functionality to report the number of effectively-available processors is indeed valuable information to have in certain situations but it is also something very OS-dependent (I mean the support for it is not present in all OSes, let alone the complication of how to access such information differing across OSes).

I think a strong case can be made that cpu_count's current functionality should not change -- the information it provides is very important to have access to.

Cool tools like psutil (https://pypi.python.org/pypi/psutil) help cover a great range of genuine needs when making use of processor affinity.
History
Date User Action Args
2015-02-26 17:23:10davinsetrecipients: + davin, neologix, jtaylor
2015-02-26 17:23:10davinsetmessageid: <1424971390.54.0.817315908285.issue23530@psf.upfronthosting.co.za>
2015-02-26 17:23:10davinlinkissue23530 messages
2015-02-26 17:23:10davincreate