[Bug 482250] Re: pydoc tells lies about external module documentation

dino99 482250 at bugs.launchpad.net
Sun May 3 13:21:30 UTC 2015


Support for this version has ended

** Changed in: python2.6 (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/482250

Title:
  pydoc tells lies about external module documentation

Status in python2.6 package in Ubuntu:
  Invalid

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.6/+bug/482250/+subscriptions



More information about the foundations-bugs mailing list