[issue17914] add os.cpu_count()
Serhiy Storchaka
report at bugs.python.org
Sat May 11 22:03:12 CEST 2013
Serhiy Storchaka added the comment:
Now we have three cpu_count() functions: multiprocessing.cpu_count() raises an exception on failure, posix.cpu_count() returns -1, and os.cpu_count() returns None. It will be easy to get rid of Python wrapper in the os module and return None directly from C code.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17914>
_______________________________________
More information about the Python-bugs-list
mailing list