[issue21259] replace "except: pass" by "except Exception: pass"
STINNER Victor
report at bugs.python.org
Thu Apr 17 04:09:47 CEST 2014
STINNER Victor added the comment:
> 3) replace "except: pass" with more precise exceptions like "except OSError:" => please write multiple small patches for this part
You may even open a new issue just for "except: pass" => "except OSError: pass"
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21259>
_______________________________________
More information about the Python-bugs-list
mailing list