GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [doc] add platform availabity information for os.sched_getaffinity · Issue #88047 · python/cpython

[doc] add platform availabity information for os.sched_getaffinity #88047

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
[doc] add platform availabity information for os.sched_getaffinity#88047
Copy link
Labels
3.10 (EOL)end of lifeend of life3.11only security fixesonly security fixes3.9 (EOL)end of lifeend of lifedocsDocumentation in the Doc dirDocumentation in the Doc dirtype-featureA feature request or enhancementA feature request or enhancement

Description

guoci
mannequin
opened on Apr 17, 2021
Issue body actions
BPO 43881
Nosy @guoci, @iritkatriel
PRs
  • bpo-43881: add platform availabity information for os.sched_getaffinity #25459
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2021-04-17.17:12:10.500>
    labels = ['3.11', 'type-feature', '3.9', '3.10', 'docs']
    title = '[doc] add platform availabity information for os.sched_getaffinity'
    updated_at = <Date 2022-03-29.22:25:36.593>
    user = 'https://github.com/guoci'

    bugs.python.org fields:

    activity = <Date 2022-03-29.22:25:36.593>
    actor = 'guoci'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2021-04-17.17:12:10.500>
    creator = 'guoci'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43881
    keywords = ['patch']
    message_count = 2.0
    messages = ['416303', '416305']
    nosy_count = 3.0
    nosy_names = ['docs@python', 'guoci', 'iritkatriel']
    pr_nums = ['25459']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue43881'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Activity

    1. guoci
      added
      3.7 (EOL)end of lifeend of life
      3.8 (EOL)end of lifeend of life
      3.10 (EOL)end of lifeend of life
      3.9 (EOL)end of lifeend of life
      on Apr 17, 2021
    2. guoci
      assigned
      docspython
      on Apr 17, 2021
    3. guoci
      added
      3.8 (EOL)end of lifeend of life
      docsDocumentation in the Doc dirDocumentation in the Doc dir
      3.10 (EOL)end of lifeend of life
      type-featureA feature request or enhancementA feature request or enhancement
      3.9 (EOL)end of lifeend of life
      on Apr 17, 2021
    4. guoci
      assigned
      docspython
      on Apr 17, 2021
    5. guoci
      added
      docsDocumentation in the Doc dirDocumentation in the Doc dir
      type-featureA feature request or enhancementA feature request or enhancement
      on Apr 17, 2021
    6. iritkatriel commented on Mar 29, 2022

      @iritkatriel
      iritkatriel
      on Mar 29, 2022
      Member
      More actions

      It might help if you provide motivation for the change. In particular, explain why you believe the current text is incorrect.

    7. iritkatriel
      added
      3.11only security fixesonly security fixes
      and removed
      3.7 (EOL)end of lifeend of life
      3.8 (EOL)end of lifeend of life
      on Mar 29, 2022
    8. iritkatriel
      changed the title [-]add platform availabity information for os.sched_getaffinity[/-] [+][doc] add platform availabity information for os.sched_getaffinity[/+] on Mar 29, 2022
    9. iritkatriel
      changed the title [-]add platform availabity information for os.sched_getaffinity[/-] [+][doc] add platform availabity information for os.sched_getaffinity[/+] on Mar 29, 2022
    10. guoci commented on Mar 29, 2022

      @guoci
      guocimannequin
      on Mar 29, 2022
      MannequinAuthor
      More actions

      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'

    11. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    12. encukou commented on Mar 28, 2024

      @encukou
      encukou
      on Mar 28, 2024
      Member
      More actions

      #109907 added os.process_cpu_count, a way to get the info on Windows as well -- and on any other platform where we know how to do this. That function is documented to return None if we don't know.

      I'll close this issue, and the PR. Apologies for not getting to it sooner.

    13. encukou
      closed this as not plannedon Mar 28, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10 (EOL)end of lifeend of life3.11only security fixesonly security fixes3.9 (EOL)end of lifeend of lifedocsDocumentation in the Doc dirDocumentation in the Doc dirtype-featureA feature request or enhancementA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        You are visitor 01402503 — GeezerVison does not store the pages you look up.
        Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.