Skip to content

importlib docs improperly reference get_resource_loader() #81640

Closed

Description

@indygreg
mannequin
BPO 37459
Nosy @warsaw, @brettcannon, @indygreg
PRs
  • bpo-37459: importlib docs improperly reference get_resource_loader() #14568
  • [3.8] bpo-37459: importlib docs improperly reference get_resource_loader() (GH-14568) #14580
  • [3.7] bpo-37459: importlib docs improperly reference get_resource_loader() (GH-14568) #14581
  • 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 = <Date 2019-07-04.01:28:28.145>
    created_at = <Date 2019-07-01.02:28:06.222>
    labels = ['3.7', '3.8', '3.9', 'docs']
    title = 'importlib docs improperly reference get_resource_loader()'
    updated_at = <Date 2019-07-04.01:28:28.144>
    user = 'https://github.com/indygreg'
    

    bugs.python.org fields:

    activity = <Date 2019-07-04.01:28:28.144>
    actor = 'barry'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2019-07-04.01:28:28.145>
    closer = 'barry'
    components = ['Documentation']
    creation = <Date 2019-07-01.02:28:06.222>
    creator = 'indygreg'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37459
    keywords = ['patch']
    message_count = 6.0
    messages = ['346951', '347046', '347176', '347252', '347253', '347254']
    nosy_count = 4.0
    nosy_names = ['barry', 'brett.cannon', 'docs@python', 'indygreg']
    pr_nums = ['14568', '14580', '14581']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'backport needed'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue37459'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']
    

    Activity

    1. indygreg commented on Jul 1, 2019

      indygregmannequin
      MannequinAuthor

      The documentation in importlib.rst says that a loader should implement get_resource_loader(fullname). This is the only occurrence of get_resource_loader in the CPython source tree. It should be changed to get_resource_reader().

    2. added
      stdlib
      3.7 (EOL)
      3.8 (EOL)
      3.9 (EOL)
      on Jul 1, 2019
    3. warsaw commented on Jul 1, 2019

      @warsaw
      Member

      Good catch. Are you going to submit a PR?

    4. added
      docs
      and removed
      stdlib
      on Jul 1, 2019
    5. indygreg commented on Jul 3, 2019

      indygregmannequin
      MannequinAuthor

      I'm a bit busy with other things this week to submit a PR.

    6. warsaw commented on Jul 4, 2019

      @warsaw
      Member

      New changeset b607d99 by Barry Warsaw (aldwinaldwin) in branch 'master':
      bpo-37459: importlib docs improperly reference get_resource_loader() (bpo-14568)
      b607d99

    7. warsaw commented on Jul 4, 2019

      @warsaw
      Member

      New changeset 070d3d9 by Barry Warsaw (Miss Islington (bot)) in branch '3.8':
      bpo-37459: importlib docs improperly reference get_resource_loader() (GH-14568) (GH-14580)
      070d3d9

    8. warsaw commented on Jul 4, 2019

      @warsaw
      Member

      New changeset d7d9c9f by Barry Warsaw (Miss Islington (bot)) in branch '3.7':
      bpo-37459: importlib docs improperly reference get_resource_loader() (GH-14568) (GH-14581)
      d7d9c9f

    9. transferred this issue fromon Apr 10, 2022
    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.7 (EOL)3.8 (EOL)3.9 (EOL)docs

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions