This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dima.Tisnek
Recipients Dima.Tisnek
Date 2014-05-21.08:43:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400661783.43.0.558471008968.issue21548@psf.upfronthosting.co.za>
In-reply-to
Content
While trying to track down another bug, I disabled some packages:

[dima@bmg tmp]$ chmod a-x /usr/lib/python3.4/site-packages/speechd*

Then ran pydoc -k:

[dima@bmg tmp]$ pydoc3.4 -k n688954789
Traceback (most recent call last):
  File "/usr/bin/pydoc3.4", line 5, in <module>
    pydoc.cli()
  File "/usr/lib/python3.4/pydoc.py", line 2548, in cli
    apropos(val)
  File "/usr/lib/python3.4/pydoc.py", line 2080, in apropos
    ModuleScanner().run(callback, key, onerror=onerror)
  File "/usr/lib/python3.4/pydoc.py", line 2061, in run
    desc = (module.__doc__ or '').splitlines()[0]
IndexError: list index out of range

Clearly "".splitlines() is always empty; missing doc is not handled correctly.
History
Date User Action Args
2014-05-21 08:43:03Dima.Tisneksetrecipients: + Dima.Tisnek
2014-05-21 08:43:03Dima.Tisneksetmessageid: <1400661783.43.0.558471008968.issue21548@psf.upfronthosting.co.za>
2014-05-21 08:43:03Dima.Tisneklinkissue21548 messages
2014-05-21 08:43:01Dima.Tisnekcreate