[issue5230] pydoc reports misleading failure if target module raises an ImportError

R. David Murray report at bugs.python.org
Sat Jun 6 21:46:04 CEST 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

I've uploaded a new version of the patch and test suite.  I wanted a few
more test cases but didn't want to litter the test directory with little
test files, so I borrowed some techniques from test_import and created
the modules to import on the fly.

I haven't come up with a fix for your last test case (yet?).  I've
commented the test to indicate this.  I think to fix it we may need to
look into the traceback itself.

----------
Added file: http://bugs.python.org/file14205/issue5230.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5230>
_______________________________________


More information about the Python-bugs-list mailing list