pydoc logging traceback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python |
Fix Released
|
Unknown
|
|||
python-defaults (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: python
$ pydoc logging
Traceback (most recent call last):
File "/usr/bin/pydoc", line 5, in ?
pydoc.cli()
File "/usr/lib/
help.help(arg)
File "/usr/lib/
elif request: doc(request, 'Help on %s:')
File "/usr/lib/
pager(title % desc + '\n\n' + text.document(
File "/usr/lib/
if inspect.
File "/usr/lib/
contents.
File "/usr/lib/
if inspect.
File "/usr/lib/
lambda t: t[1] == 'method')
File "/usr/lib/
name, mod, object))
File "/usr/lib/
if inspect.
File "/usr/lib/
doc = getdoc(object) or ''
File "/usr/lib/
result = inspect.
File "/usr/lib/
lines, lnum = findsource(object)
File "/usr/lib/
if pat.match(
IndexError: list index out of range
$ dpkg -s python | grep Ver
Version: 2.4.3-11ubuntu3
Related branches
Changed in python-defaults: | |
importance: | Undecided → Low |
status: | New → Confirmed |
importance: | Low → Medium |
Changed in python: | |
status: | Unknown → Fix Released |
I can confirm that this still exists in python 2.5 in feisty. In order to repro, please do the following:
$ mkdir pydoc_test
$ cd pydoc_test
$ echo "#" > __init__.py
$ pydoc logging