[issue5884] pydoc to return error status code

2022-01-25 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> pydoc should return non-zero exit code when a query is not found ___ Python tracker

[issue5884] pydoc to return error status code

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- versions: +Python 3.4 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5884 ___

[issue5884] pydoc to return error status code

2009-05-06 Thread Mike Miller
Mike Miller python@mgmiller.net added the comment: Ahh, I see ... I didn't explain my issue with much depth in haste. I don't usually run the test suite when I am in the process of updating code or docs, only when I'm done, then I check it in. So I was updating the docs and running pydoc

[issue5884] pydoc to return error status code

2009-05-05 Thread R. David Murray
R. David Murray rdmur...@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

[issue5884] pydoc to return error status code

2009-04-29 Thread Mike Miller
New submission from Mike Miller python@mgmiller.net: When pydoc is run from the command line and unable to write a file for a module because of a syntax error, it would be helpful to return a non-zero status code as a result. What it does currently: C:\C:\python26\Lib\pydoc.py -w mymod