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

bpo-47126: Update to canonical PEP URLs #32124

Merged
merged 4 commits into from Mar 30, 2022

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Mar 26, 2022

With the recent implementation of PEP 676 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.

Also removed r'http://www.python.org/dev/peps/pep-\d+' from the docs linkcheck. There are no URLs of that form in main, they're all https, so this isn't needed.

Also updated RFC link generator to use https instead of http, because it was right next to the PEP link generator being changed. I can drop this change if necessary.

https://bugs.python.org/issue47126

@hugovk
Copy link
Member Author

hugovk commented Mar 28, 2022

Copy link
Member

@pablogsal pablogsal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pablogsal
Copy link
Member

Great work @hugovk 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants