[issue17914] add os.cpu_count()

Serhiy Storchaka report at bugs.python.org
Sat May 11 14:13:54 CEST 2013


Serhiy Storchaka added the comment:

I think the idiom `os.cpu_count() or 1` should be mentioned in the documentation an officially recommended. Otherwise people will produce a non-portable code which works on their developer's computers but not on exotic platforms.

I have added some other comments on Rietveld.

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list