[New-bugs-announce] [issue37600] sched_getaffinity() is missing - module 'os' has no attribute 'sched_getaffinity'
wesinator
report at bugs.python.org
Mon Jul 15 17:08:09 EDT 2019
New submission from wesinator <13hurdw at gmail.com>:
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'
----------
components: Library (Lib)
messages: 347991
nosy: wesinator
priority: normal
severity: normal
status: open
title: sched_getaffinity() is missing - module 'os' has no attribute 'sched_getaffinity'
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37600>
_______________________________________
More information about the New-bugs-announce
mailing list