Skip to content

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.

4 participants