[issue21259] replace "except: pass" by "except Exception: pass"

Antoine Pitrou report at bugs.python.org
Wed Apr 16 20:01:33 CEST 2014


Antoine Pitrou added the comment:

You shouldn't change the grammar the tests, nor the pybench source.
Also, in some places it would probably be interesting to narrow down the exception type more.

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list