python / cpython

The Python programming language
https://www.python.org
Other
63.37k stars 30.33k forks source link

https://docs.python.org/library should redirect to Python 3 doc #69251

Closed d615b18b-0014-4899-82e8-93f8d00848e7 closed 9 years ago

d615b18b-0014-4899-82e8-93f8d00848e7 commented 9 years ago
BPO 25065
Nosy @zware

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields: ```python assignee = None closed_at = created_at = labels = ['invalid', 'type-feature', 'library', 'docs'] title = 'https://docs.python.org/library should redirect to Python 3 doc' updated_at = user = 'https://bugs.python.org/MartnGaitn' ``` bugs.python.org fields: ```python activity = actor = 'zach.ware' assignee = 'docs@python' closed = True closed_date = closer = 'zach.ware' components = ['Documentation', 'Library (Lib)'] creation = creator = 'Mart\xc3\xadn Gait\xc3\xa1n' dependencies = [] files = [] hgrepos = [] issue_num = 25065 keywords = [] message_count = 2.0 messages = ['250442', '250450'] nosy_count = 3.0 nosy_names = ['docs@python', 'zach.ware', 'Mart\xc3\xadn Gait\xc3\xa1n'] pr_nums = [] priority = 'normal' resolution = 'not a bug' stage = 'resolved' status = 'closed' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue25065' versions = [] ```

d615b18b-0014-4899-82e8-93f8d00848e7 commented 9 years ago

The canonical link for documentation https://docs.python.org/ redirect to the index page of the stable Python 3's documentation

However, https://docs.python.org/library still redirects to the Python 2 standard lib's docs.

To be consequent https://docs.python.org/library should redirect to https://docs.python.org/3/library/

zware commented 9 years ago

This is by design, see PEP-430 for rationale. Eventually the Python 3 docs will be the default, but that day isn't quite here yet.