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

Raymond Hettinger report at bugs.python.org
Thu Apr 17 03:15:03 CEST 2014


Raymond Hettinger added the comment:

After more consideration, I'm going to reject the patch because it doesn't really make the code better and may make it worse (changing semantics, slower, etc).   Any such changes should be done holistically as part of a deeper refactoring on an individual module.  

I appreciate the patch effort but would like to avoid code churn for nearly zero benefit.

----------
assignee:  -> rhettinger
resolution:  -> rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list