Public bug reported:

Binary package hint: python2.6

A pydoc feature is that it will produce an output section headed "MODULE
DOCS" and put a URL into the body.  Unfortunately, it does some obscure
path-based hacking to automatically determine this value sometimes.  The
end result is that pydoc will now produce an incorrect module docs
location for any package installed in dist-packages now.  For example:

$ pydoc launchpadlib
Help on package launchpadlib:

NAME
    launchpadlib - # Copyright 2008 Canonical Ltd.

FILE
    /usr/lib/python2.6/dist-packages/launchpadlib/__init__.py

MODULE DOCS
    http://docs.python.org/library/launchpadlib

PACKAGE CONTENTS
    credentials
    errors
    launchpad
    testing (package)
    tests (package)

DATA
    __version__ = '1.5.1'

VERSION
    1.5.1

(END)


There isn't actually any content at 
<http://docs.python.org/library/launchpadlib>.

This appears to be due to the switch to dist-packages from site-
packages.  pydoc cared about the precise spelling of this directory.

** Affects: python2.6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
pydoc tells lies about external module documentation
https://bugs.launchpad.net/bugs/482250
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to