[issue22298] Lib/warnings.py _show_warning does not protect against being called with a file like object which is closed
Antoine Pitrou
report at bugs.python.org
Sat Aug 30 03:21:15 CEST 2014
Antoine Pitrou added the comment:
I frankly don't think silencing more exceptions is a good idea. If someone decided to close sys.stderr without setting sys.stderr to None I'd say it's a programming error and deserves to be notified...
----------
nosy: +brett.cannon, pitrou -Julius.Lehmann-Richter, terry.reedy
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22298>
_______________________________________
More information about the Python-bugs-list
mailing list