[issue26678] Incorrect linking to elements in datetime package

2016-04-02 Thread Martin Panter
Martin Panter added the comment: That’s good news. I did not expect it, but I seem to have fixed the problem anyway. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker _

[issue26678] Incorrect linking to elements in datetime package

2016-04-02 Thread Andy Maier
Andy Maier added the comment: Martin, I just noticed that your fix must already be active. My link to tzinfo now lands on the long description. So maybe it was not a user error of mine that resolved the problem with the two methods (I was pretty sure I had tried the same syntax I use now), but

[issue26678] Incorrect linking to elements in datetime package

2016-04-02 Thread Andy Maier
Andy Maier added the comment: Martin, I can now link to the two methods e.g. via :meth:`py:datetime.tzinfo.utcoffset`, and it resolves nicely. See here (linking to Python 2): https://pywbem.readthedocs.org/en/latest/#pywbem.MinutesFromUTC Don't know why it now works, probably user error I wou

[issue26678] Incorrect linking to elements in datetime package

2016-04-01 Thread Martin Panter
Martin Panter added the comment: Can you link to other methods? E.g. try io.IOBase.close(), which is done the normal way as a method indented under its class, and nntplib.NNTP.quit(), which is listed separately from its class definition. Regarding CRLFs in “configure”, all I can guess is some

[issue26678] Incorrect linking to elements in datetime package

2016-04-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 30e077f886cc by Martin Panter in branch '3.5': Issue #26678: Fix indexing of datetime.tzinfo and timezone classes https://hg.python.org/cpython/rev/30e077f886cc New changeset 854db1a2cd98 by Martin Panter in branch 'default': Issue #26678: Merge dat

[issue26678] Incorrect linking to elements in datetime package

2016-04-01 Thread Andy Maier
Andy Maier added the comment: Ok. If these methods generate index entries, maybe the problem is on my side by not linking them correctly. So let's try with the other two changes. Unfortunately, I cannot easily build cpython at the moment to verify, I moved to Linux and when trying to build cpy

[issue26678] Incorrect linking to elements in datetime package

2016-04-01 Thread Martin Panter
Martin Panter added the comment: I’m happy to make those two minimal changes (:noindex: and tzinfo class), but I have a feeling they won’t help your problem linking to datetime.tzinfo.utcoffset() and dst(). The markup for those methods already generates index entries, see

[issue26678] Incorrect linking to elements in datetime package

2016-04-01 Thread Andy Maier
Andy Maier added the comment: Hi Martin! The intersphinx stuff is simply linking from a Sphinx RST documentation to a different Sphinx RST documentation, using support from the intersphinx extension of Sphinx. I think the name comes from the interwiki links in MediaWiki. It only comes into pl

[issue26678] Incorrect linking to elements in datetime package

2016-03-31 Thread Martin Panter
Martin Panter added the comment: Currently the “datetime” documentation has quick descriptions of classes marked up with “.. class::” in the introduction, and then dedicated sections with more details. Many other parts of Python’s documentation have a similar structure. IMO it is better to inc

[issue26678] Incorrect linking to elements in datetime package

2016-03-31 Thread Andy Maier
New submission from Andy Maier: Hi, I did search for these in the open bugs, but did not find any matching bug. I have a project that revealed that some of its InterSphinx links to existing classes/types or methods to not resolve their targets, or to resolve to a target that is not the right o