This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wesinator
Recipients wesinator
Date 2019-07-15.21:08:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563224889.65.0.0527195323011.issue37600@roundup.psfhosted.org>
In-reply-to
Content
Python 3.7.4 macOS 10.14.5 (homebrew) 

According to https://docs.python.org/3/library/os.html#os.cpu_count , there is a method `os.sched_getaffinity()` (https://docs.python.org/3/library/os.html#os.sched_getaffinity)

Code to reproduce :
 - 
```
import os
len(os.sched_getaffinity(0))
```


Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'os' has no attribute 'sched_getaffinity'
History
Date User Action Args
2019-07-15 21:08:09wesinatorsetrecipients: + wesinator
2019-07-15 21:08:09wesinatorsetmessageid: <1563224889.65.0.0527195323011.issue37600@roundup.psfhosted.org>
2019-07-15 21:08:09wesinatorlinkissue37600 messages
2019-07-15 21:08:08wesinatorcreate