This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: broken link in PEP 102
Type: behavior Stage: resolved
Components: Devguide Versions: Python 3.4
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, berker.peksag, ezio.melotti, hargup, ncoghlan
Priority: normal Keywords:

Created on 2014-11-28 19:49 by hargup, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (5)
msg231825 - (view) Author: Harsh Gupta (hargup) Date: 2014-11-28 19:49
In PEP 102 [1], the link to PEP 101 is broken.

[1]: https://www.python.org/dev/peps/pep-0102/
msg231827 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2014-11-28 19:57
Thanks for the report. This has already been reported at https://github.com/python/pythondotorg/issues/510.
msg235373 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2015-02-04 05:53
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.)
msg235380 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2015-02-04 06:14
I've opened https://github.com/python/pythondotorg/issues/561 to track the same issue.
msg235400 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2015-02-04 20:05
Ok, so I'm closing this again.
Berker, can you add a link to this issue too on the pydotorg tracker?
History
Date User Action Args
2022-04-11 14:58:10adminsetgithub: 67152
2015-02-04 20:05:47ezio.melottisetstatus: open -> closed

messages: + msg235400
2015-02-04 06:14:46berker.peksagsetmessages: + msg235380
2015-02-04 05:53:37ezio.melottisetstatus: closed -> open
nosy: + ncoghlan, benjamin.peterson
messages: + msg235373

2014-11-28 19:57:44berker.peksagsetstatus: open -> closed

nosy: + berker.peksag
messages: + msg231827

resolution: third party
stage: resolved
2014-11-28 19:50:28hargupsettitle: type in PEP 102 -> broken link in PEP 102
2014-11-28 19:49:04hargupcreate