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.

classification
Title: [doc] add platform availabity information for os.sched_getaffinity
Type: enhancement Stage: patch review
Components: Documentation Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, guoci, iritkatriel
Priority: normal Keywords: patch

Created on 2021-04-17 17:12 by guoci, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 25459 open guoci, 2021-04-17 17:18
Messages (2)
msg416303 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-03-29 22:15
It might help if you provide motivation for the change. In particular, explain why you believe the current text is incorrect.
msg416305 - (view) Author: Guo Ci Teo (guoci) * Date: 2022-03-29 22:25
`os.sched_getaffinity` is only available on some Unix platforms, as documented in
https://docs.python.org/dev/library/os.html#interface-to-the-scheduler
For example, on Windows we will get the error:
AttributeError: module 'os' has no attribute 'sched_getaffinity'
History
Date User Action Args
2022-04-11 14:59:44adminsetgithub: 88047
2022-03-29 22:25:36guocisetmessages: + msg416305
2022-03-29 22:16:32iritkatrielsettitle: add platform availabity information for os.sched_getaffinity -> [doc] add platform availabity information for os.sched_getaffinity
2022-03-29 22:15:24iritkatrielsetnosy: + iritkatriel

messages: + msg416303
versions: + Python 3.11, - Python 3.6, Python 3.7, Python 3.8
2021-04-17 17:18:45guocisetkeywords: + patch
stage: patch review
pull_requests: + pull_request24185
2021-04-17 17:12:10guocicreate