Josh Rosenberg <shadowranger+pyt...@gmail.com> added the comment:
Per the docs on the function group that includes os.sched_getaffinity ( https://docs.python.org/3/library/os.html#interface-to-the-scheduler ): > These functions control how a process is allocated CPU time by the operating > system. They are only available on some Unix platforms. For more detailed > information, consult your Unix manpages. > New in version 3.3. > The following scheduling policies are exposed if they are supported by the > operating system. OSX doesn't support these APIs, so Python on OSX won't have them. ---------- nosy: +josh.r resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37600> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com