[issue5884] pydoc to return error status code

R. David Murray report at bugs.python.org
Tue May 5 19:23:51 CEST 2009


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

This seems like a resonable thing for pydoc to do.  However, I took a
quick look, and pydoc has no notion of error status. Adding one would
require a non-trival refactoring of the code (at least to do it
right...a hackish version might not be too difficult).  

So, I doubt this is going to happen unless you can contribute a patch.

On the other hand, your test suite should be catching any errors pydoc
would catch, so I can't say I really understand your stated reason for
the request.  Unless you are building documentation for packages you
don't maintain?

----------
nosy: +r.david.murray
priority:  -> low
stage:  -> needs patch
versions: +Python 2.7, Python 3.1 -Python 2.6

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


More information about the Python-bugs-list mailing list