[issue23016] uncatched exception in lib/warnings.py when executed with pythonw

STINNER Victor report at bugs.python.org
Tue Dec 9 14:10:45 CET 2014


STINNER Victor added the comment:

+  execpt:

Please never use that, but "except Exception:" instead to not catch SystemExit or KeyboardInterrupt.

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list