Author vstinner
Recipients Manjusaka, christian.heimes, galen, inada.naoki, jab, keirlawson, matrixise, mcnelsonphd, vstinner
Date 2020-03-23.21:18:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584998289.18.0.425509513127.issue36054@roundup.psfhosted.org>
In-reply-to
Content
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))"
History
Date User Action Args
2020-03-23 21:18:09vstinnersetrecipients: + vstinner, christian.heimes, jab, inada.naoki, matrixise, Manjusaka, keirlawson, mcnelsonphd, galen
2020-03-23 21:18:09vstinnersetmessageid: <1584998289.18.0.425509513127.issue36054@roundup.psfhosted.org>
2020-03-23 21:18:09vstinnerlinkissue36054 messages
2020-03-23 21:18:09vstinnercreate