[issue1185124] pydoc doesn't find all module doc strings
STINNER Victor
report at bugs.python.org
Mon Sep 23 10:06:50 CEST 2013
STINNER Victor added the comment:
+ except:
+ pass
...
+ except TypeError:
+ return None
I don't understand these try/except. First, "except: pass" must never be used, only catch specific exceptions (ex: AttributeError). Can you explain why you expect a TypeError?
If your patch fixes a bug, you must add a new unit test to test_pydoc to check for non-regression.
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1185124>
_______________________________________
More information about the Python-bugs-list
mailing list