STINNER Victor <vstin...@python.org> added the comment:
I'm not sure that it's a good idea to change os.cpucount(). I suggest to add a new function instead. os.cpu_count() iss documented as: "Return the number of CPUs in the system." https://docs.python.org/dev/library/os.html#os.cpu_count By the way, the documentation adds: "This number is not equivalent to the number of CPUs the current process can use. The number of usable CPUs can be obtained with len(os.sched_getaffinity(0))" ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36054> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com