[issue17914] add os.cpu_count()

Charles-François Natali report at bugs.python.org
Mon May 6 13:11:52 CEST 2013


Charles-François Natali added the comment:

Note that I think it might be interesting to return 1 if the actual value cannot be determined, since that's a sensible default, and likely what the caller will do anyway. This contrasts with the current multiprocessing's implementation which raised NotImplementedError.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17914>
_______________________________________


More information about the Python-bugs-list mailing list