[issue5230] pydoc reports misleading failure if target module raises an ImportError
Lucas Prado Melo
report at bugs.python.org
Wed Jun 3 17:27:11 CEST 2009
Lucas Prado Melo <lukepadawan at gmail.com> added the comment:
I had lots of stuff to do lately, sorry it took me so long to answer.
Here is the patch as we intended, but there is a bug yet.
What if the non-existent imported module has the same name of the module
$ cat pydoc_badimport3.py
$ pydoc pydoc_badimport3
I tested this possibility, and I found out that there is a bug in this
situation yet: pydoc still tells the user that the module couldn't be found.
Added file: http://bugs.python.org/file14172/pydocs.diff
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list