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 docs for tokenize
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.6, Python 3.5, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Antony.Lee, SilentGhost, docs@python, martin.panter, python-dev
Priority: normal Keywords: patch

Created on 2016-01-15 18:56 by Antony.Lee, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue26127.diff SilentGhost, 2016-01-15 19:12 review
Messages (6)
msg258319 - (view) Author: Antony Lee (Antony.Lee) * Date: 2016-01-15 18:56
The docs for `tokenize.detect_encoding` state `Use open() to open Python source files: it uses detect_encoding() to detect the file encoding.`

Unfortunately, clicking on `open` redirects to the builtin `open` function, not to `tokenize.open` as it should.
msg258320 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2016-01-15 19:12
Here is the patch. Most of the fixes are however for the tokenize function that was for whatever reason linked to the module.
msg258355 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-01-16 04:48
New changeset 4b4dbc90c6a0 by Martin Panter in branch '3.5':
Issue #26127: Fix links in tokenize documentation; patch by Silent Ghost
https://hg.python.org/cpython/rev/4b4dbc90c6a0

New changeset fe360700d1ae by Martin Panter in branch 'default':
Issue #26127: Merge tokenize documentation
https://hg.python.org/cpython/rev/fe360700d1ae

New changeset 8b09d71fbb6b by Martin Panter in branch '2.7':
Issue #26127: Fix links in tokenize documentation
https://hg.python.org/cpython/rev/8b09d71fbb6b
msg258356 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-01-16 04:50
Thanks for the report and patch. There were similar (but different) problems in the Python 2 documentation too.
msg258359 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-01-16 05:21
New changeset 620a37dbc686 by Martin Panter in branch 'default':
Issue #26127: Merge test_gdb fix from 3.5
https://hg.python.org/cpython/rev/620a37dbc686
msg258360 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-01-16 05:23
Oops that last commit was for Issue #14771
History
Date User Action Args
2022-04-11 14:58:26adminsetgithub: 70315
2016-01-16 05:23:21martin.pantersetmessages: + msg258360
2016-01-16 05:21:42python-devsetmessages: + msg258359
2016-01-16 04:50:14martin.pantersetstatus: open -> closed

versions: + Python 2.7
nosy: + martin.panter

messages: + msg258356
resolution: fixed
stage: patch review -> resolved
2016-01-16 04:48:37python-devsetnosy: + python-dev
messages: + msg258355
2016-01-15 19:12:45SilentGhostsetfiles: + issue26127.diff

type: behavior

keywords: + patch
nosy: + SilentGhost
messages: + msg258320
stage: patch review
2016-01-15 18:56:51Antony.Leecreate