Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to canonical PEP URLs #91282

Closed
hugovk opened this issue Mar 26, 2022 · 4 comments
Closed

Update to canonical PEP URLs #91282

hugovk opened this issue Mar 26, 2022 · 4 comments
Labels
3.11 only security fixes docs Documentation in the Doc dir interpreter-core (Objects, Python, Grammar, and Parser dirs) stdlib Python modules in the Lib dir

Comments

@hugovk
Copy link
Member

hugovk commented Mar 26, 2022

BPO 47126
Nosy @lysnikolaou, @pablogsal, @hugovk, @tirkarthi
PRs
  • bpo-47126: Update to canonical PEP URLs #32124
  • 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 2022-03-30.11:57:41.218>
    created_at = <Date 2022-03-26.10:16:18.428>
    labels = ['interpreter-core', '3.11', 'library', 'docs']
    title = 'Update to canonical PEP URLs'
    updated_at = <Date 2022-03-30.11:57:53.273>
    user = 'https://github.com/hugovk'

    bugs.python.org fields:

    activity = <Date 2022-03-30.11:57:53.273>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-03-30.11:57:41.218>
    closer = 'pablogsal'
    components = ['Documentation', 'Library (Lib)', 'Parser']
    creation = <Date 2022-03-26.10:16:18.428>
    creator = 'hugovk'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 47126
    keywords = ['patch']
    message_count = 4.0
    messages = ['416051', '416055', '416067', '416335']
    nosy_count = 4.0
    nosy_names = ['lys.nikolaou', 'pablogsal', 'hugovk', 'xtreak']
    pr_nums = ['32124']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue47126'
    versions = ['Python 3.11']

    @hugovk
    Copy link
    Member Author

    hugovk commented Mar 26, 2022

    With the recent implementation https://peps.python.org/pep-0676/ the canonical URL for PEPs has changed from, for example:

    https://www.python.org/dev/peps/pep-0008/

    to:

    https://peps.python.org/pep-0008/

    Redirects are in place so the old links still work, but let's update the docs and docstrings to use the new canonical form. There's also a couple of places in code, so a BPO number is needed.

    @hugovk hugovk self-assigned this Mar 26, 2022
    @hugovk hugovk added 3.11 only security fixes docs Documentation in the Doc dir stdlib Python modules in the Lib dir labels Mar 26, 2022
    @hugovk hugovk self-assigned this Mar 26, 2022
    @hugovk hugovk added interpreter-core (Objects, Python, Grammar, and Parser dirs) 3.11 only security fixes docs Documentation in the Doc dir stdlib Python modules in the Lib dir labels Mar 26, 2022
    @tirkarthi
    Copy link
    Member

    Sphinx also changed the URL in sphinx-doc/sphinx#10267

    @hugovk
    Copy link
    Member Author

    hugovk commented Mar 26, 2022

    Here's a devguide PR: python/devguide#822

    @pablogsal
    Copy link
    Member

    New changeset 6881ea9 by Hugo van Kemenade in branch 'main':
    bpo-47126: Update to canonical PEP URLs specified by PEP-676 (GH-32124)
    6881ea9

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.11 only security fixes docs Documentation in the Doc dir interpreter-core (Objects, Python, Grammar, and Parser dirs) stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants