Author belopolsky
Recipients belopolsky, docs@python, eric.araujo, georg.brandl, ron_adam
Date 2010-11-18.05:19:57
SpamBayes Score 4.17376e-05
Marked as misclassified No
Message-id <AANLkTikcVs1i1LgMmudXyM6BnHBmh=YMUwdnmBu5xmj6@mail.gmail.com>
In-reply-to <1290054080.09.0.453976305121.issue10446@psf.upfronthosting.co.za>
Content
On Wed, Nov 17, 2010 at 11:21 PM, Ron Adam <report@bugs.python.org> wrote:
..
> I noticed in your patch, the disclaimer only prints when pydoc can find a doc location (docloc is not None).

This is not a disclaimer, but an explanation of the relationship
between pydoc pages and the reference manual.

> So it may not get displayed at all depending on how python is installed.

docloc should not be None for standard library modules.  This is a
separate issue.

>  I also think having it on every page may be a bit overly cautious. (IMHO)

In text viewer you only see one page at a time.  In HTML you may put
it on the index or start page.

docloc is None for 3rd party modules (pydocs checks for site-packages
component in path).  The logic is not very robust, but that is a
separate issue.

That's fine.

No, these places are almost never seen.  Also, one should not think of
this as a disclaimer, but as an explanation of why she is shown a link
to a reference page when full documentation is already displayed.

> It can still be defined in one location and then use "+ pydoc_disclaimer" in the desired locations.

Sure.   Just don't call it "disclaimer".  Maybe Doc.REFTEXT constant
next to Doc.PYTHONDOCS?
History
Date User Action Args
2010-11-18 05:25:14belopolskyunlinkissue10446 messages
2010-11-18 05:19:58belopolskysetrecipients: + belopolsky, georg.brandl, ron_adam, eric.araujo, docs@python
2010-11-18 05:19:57belopolskylinkissue10446 messages
2010-11-18 05:19:57belopolskycreate