Issue 14489: repr() function link on the built-in function documentation is incorrect (original) (raw)
Created on 2012-04-04 06:24 by xuhdev, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (10) | ||
---|---|---|
msg157462 - (view) | Author: Hong Xu (xuhdev) | Date: 2012-04-04 06:24 |
The `repr()` built-in function link in this page [ http://docs.python.org/library/functions.html ] should link to the built-in version of `repr()`. It should link to: http://docs.python.org/library/functions.html#repr However, it links to here: http://docs.python.org/library/repr.html#module-repr | ||
msg157480 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2012-04-04 14:19 |
This is only a problem in the 2.7 docs. I tried adding a .. py:currentmodule:: builtins directive to the page, hoping that would make all unqualified links local, but it didn't work. I think the fix will require someone with more Sphinx-foo than I have. | ||
msg157542 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2012-04-05 07:04 |
Shows how it's a bad thing to have a builtin function and a module of the same name :) | ||
msg157543 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2012-04-05 07:04 |
New changeset 4416efeb0163 by Georg Brandl in branch '2.7': Closes #14489: correct link target. http://hg.python.org/cpython/rev/4416efeb0163 | ||
msg166060 - (view) | Author: Piotr Dobrogost (piotr.dobrogost) | Date: 2012-07-21 20:09 |
As of today the link is still not fixed although I guess it should have been due to the patch mentioned in http://bugs.python.org/issue14489#msg157543 | ||
msg166099 - (view) | Author: Hong Xu (xuhdev) | Date: 2012-07-22 02:46 |
I think this has been fixed. Where did you see the incorrect link? | ||
msg166148 - (view) | Author: Piotr Dobrogost (piotr.dobrogost) | Date: 2012-07-22 16:40 |
The wrong link is still at http://docs.python.org/library/functions.html | ||
msg183543 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2013-03-05 18:50 |
Confirm that this is not fixed. | ||
msg183861 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2013-03-10 02:28 |
New changeset aea3167355fc by Ezio Melotti in branch '2.7': #14489: fix wrong link. http://hg.python.org/cpython/rev/aea3167355fc | ||
msg183862 - (view) | Author: Ezio Melotti (ezio.melotti) * ![]() |
Date: 2013-03-10 02:30 |
The s/:func:`repr`/:func:`.repr`/ committed by Georg got lost in 07b3fc67bf45, however reintroducing it results in this warning: "Doc/library/functions.rst:1182: WARNING: duplicate object description of repr, other instance in Doc/library/repr.rst, use :noindex: for one of them" Even after adding the :noindex: the repr() in the table wasn't a link, so I ended up using a workaround that fixed the link and didn't need the :noindex:. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:28 | admin | set | github: 58694 |
2013-03-10 02:30:46 | ezio.melotti | set | status: open -> closedmessages: + assignee: docs@python -> ezio.melottiresolution: fixedstage: needs patch -> resolved |
2013-03-10 02:28:42 | python-dev | set | messages: + |
2013-03-05 19:01:10 | ezio.melotti | set | nosy: + ezio.melotti |
2013-03-05 18:51:48 | r.david.murray | set | nosy: + vrutsky |
2013-03-05 18:51:23 | r.david.murray | link | issue17356 superseder |
2013-03-05 18:50:29 | r.david.murray | set | status: closed -> openresolution: fixed -> (no value)messages: + stage: resolved -> needs patch |
2012-07-22 16:40:53 | piotr.dobrogost | set | messages: + |
2012-07-22 02:46:35 | xuhdev | set | messages: + |
2012-07-21 20:09:03 | piotr.dobrogost | set | nosy: + piotr.dobrogostmessages: + |
2012-04-05 07:04:33 | python-dev | set | status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved |
2012-04-05 07:04:17 | georg.brandl | set | nosy: + georg.brandlmessages: + |
2012-04-04 14:19:02 | r.david.murray | set | type: behaviormessages: + nosy: + r.david.murray |
2012-04-04 06:24:39 | xuhdev | create |