Author vstinner
Recipients Manjusaka, christian.heimes, galen, jab, keirlawson, matrixise, mcnelsonphd, methane, vstinner
Date 2020-03-23.21:18:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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."

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))"
Date User Action Args
2020-03-23 21:18:09vstinnersetrecipients: + vstinner, christian.heimes, jab, methane, matrixise, Manjusaka, keirlawson, mcnelsonphd, galen
2020-03-23 21:18:09vstinnersetmessageid: <>
2020-03-23 21:18:09vstinnerlinkissue36054 messages
2020-03-23 21:18:09vstinnercreate