[issue17914] add os.cpu_count()
Ned Batchelder
report at bugs.python.org
Mon May 13 22:05:29 CEST 2013
Ned Batchelder added the comment:
Python's goal is not to emulate the suboptimal parts of other languages. We have dynamic typing, and so can return None from the same function that returns 1. And we have compact expressions like `cpu_count() or 1`, so we don't have to make unfortunate compromises.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17914>
_______________________________________
More information about the Python-bugs-list
mailing list