[issue24128] Documentation links are forwarded to Python 2
R. David Murray added the comment: I believe that this is intentional, so that old deep links do not break. Georg can say for sure. -- nosy: +georg.brandl, r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24128 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24128] Documentation links are forwarded to Python 2
New submission from levkivskyi: Links to Python library documentation such as: http://docs.python.org/library/functions.html http://docs.python.org/library/itertools.html http://docs.python.org/library/functools.html etc. are automatically forwarded to the Python 2 versions, namely to: https://docs.python.org/2/library/functions.html https://docs.python.org/2/library/itertools.html https://docs.python.org/2/library/functools.html At the same time docs.python.org is forwarded to Python 3 version https://docs.python.org/3/ I believe that all the documentation links should be forwarded to the current version that is Python 3. -- assignee: docs@python components: Documentation, Library (Lib) messages: 242613 nosy: docs@python, levkivskyi priority: normal severity: normal status: open title: Documentation links are forwarded to Python 2 type: behavior versions: Python 2.7, Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24128 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24128] Documentation links are forwarded to Python 2
Marc-Andre Lemburg added the comment: On 05.05.2015 21:24, levkivskyi wrote: Links to Python library documentation such as: http://docs.python.org/library/functions.html http://docs.python.org/library/itertools.html http://docs.python.org/library/functools.html etc. are automatically forwarded to the Python 2 versions, namely to: https://docs.python.org/2/library/functions.html https://docs.python.org/2/library/itertools.html https://docs.python.org/2/library/functools.html At the same time docs.python.org is forwarded to Python 3 version https://docs.python.org/3/ I believe that all the documentation links should be forwarded to the current version that is Python 3. This is intentional. All new links to Python documentation should include the version number. To keep existing old links to the documentation working, they redirect to the Python 2 version of the documentation. -- nosy: +lemburg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24128 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24128] Documentation links are forwarded to Python 2
levkivskyi added the comment: Is it possible to check whether the Python 3 version exists and redirect to it and if not (like for http://docs.python.org/library/fpformat.html) then redirect to Python 2 ? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24128 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24128] Documentation links are forwarded to Python 2
R. David Murray added the comment: That would defeat the purpose. Existing links are intending to point to python2, not python3. -- resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24128 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com