[issue43044] Python 2.7 documentation links to 404 pages when the library was moved or renamed
New submission from Борис Верховский <boris.verk@gmail.com>: 1. go to https://docs.python.org/2/library/stringio.html (note the "/2/") 2. click on "You should upgrade and read the Python documentation for the current stable release." at the top I expect to be sent to the Python 3 documentation for StringIO (or at least the index.html page of the Python 3 documentaion) but because StringIO was moved from its own library into `io`, the Python 2 docs are linking to a 404 error page, because they just rewrite "/2/" to "/3/" in the URL. See attached PR for a list of all these broken pages and where they could redirect to. ---------- assignee: docs@python components: Documentation messages: 385821 nosy: boris, docs@python priority: normal pull_requests: 23179 severity: normal status: open title: Python 2.7 documentation links to 404 pages when the library was moved or renamed type: enhancement versions: Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43044> _______________________________________
STINNER Victor <vstinner@python.org> added the comment: The Python 2.7 branch has been removed: https://github.com/python/cpython/pull/24195#issuecomment-768474389 I close the issue. Please use the Python 3 documentation. ---------- nosy: +vstinner resolution: -> out of date stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43044> _______________________________________
Борис Верховский <boris.verk@gmail.com> added the comment: This was fixed using redirects in nginx https://github.com/python/psf-salt/pull/201 ---------- resolution: out of date -> fixed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43044> _______________________________________
participants (2)
-
STINNER Victor
-
Борис Верховский