Ezio Melotti added the comment:
The link in PEP 102 is still wrong, even though the pydotorg issue has been
closed.
The problem seems to affect txt PEPs (not rst ones), and it can be fixed by
simply doing:
diff --git a/pep2html.py b/pep2html.py
--- a/pep2html.py
+++ b/pep2html.py
@@ -48,11 +48,11 @@
'docutils': '0.2.7'}
PROGRAM = sys.argv[0]
RFCURL = 'http://www.faqs.org/rfcs/rfc%d.html'
-PEPURL = 'pep-%04d.html'
+PEPURL = '../pep-%04d.html'
PEPCVSURL = ('https://hg.python.org/peps/file/tip/pep-%04d.txt')
PEPDIRRUL = 'http://www.python.org/peps/'
However this breaks the URLs while building/looking at the PEPs locally.
(Note: I don't have a github account so I can't reopen the linked issue -- feel
free to close this again once the issue has been reported to pydotorg.)
----------
nosy: +benjamin.peterson, ncoghlan
status: closed -> open
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22963>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com