Issue 26127: Broken link in docs for tokenize (original) (raw)
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) * ![]() |
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) ![]() |
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) * ![]() |
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) ![]() |
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) * ![]() |
Date: 2016-01-16 05:23 |
Oops that last commit was for Issue #14771 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:26 | admin | set | github: 70315 |
2016-01-16 05:23:21 | martin.panter | set | messages: + |
2016-01-16 05:21:42 | python-dev | set | messages: + |
2016-01-16 04:50:14 | martin.panter | set | status: open -> closedversions: + Python 2.7nosy: + martin.pantermessages: + resolution: fixedstage: patch review -> resolved |
2016-01-16 04:48:37 | python-dev | set | nosy: + python-devmessages: + |
2016-01-15 19:12:45 | SilentGhost | set | files: + issue26127.difftype: behaviorkeywords: + patchnosy: + SilentGhostmessages: + stage: patch review |
2016-01-15 18:56:51 | Antony.Lee | create |