Message364901
| 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 | <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:09 | vstinner | set | recipients: + vstinner, christian.heimes, jab, methane, matrixise, Manjusaka, keirlawson, mcnelsonphd, galen |
| 2020-03-23 21:18:09 | vstinner | set | messageid: <1584998289.18.0.425509513127.issue36054@roundup.psfhosted.org> |
| 2020-03-23 21:18:09 | vstinner | link | issue36054 messages |
| 2020-03-23 21:18:09 | vstinner | create | |