[New-bugs-announce] [issue43044] Python 2.7 documentation links to 404 pages when the library was moved or renamed

Борис Верховский report at bugs.python.org
Wed Jan 27 18:26:36 EST 2021


New submission from Борис Верховский <boris.verk at 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 at python
components: Documentation
messages: 385821
nosy: boris, docs at 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 at bugs.python.org>
<https://bugs.python.org/issue43044>
_______________________________________


More information about the New-bugs-announce mailing list