[issue22298] Lib/warnings.py _show_warning does not protect against being called with a file like object which is closed

Terry J. Reedy report at bugs.python.org
Fri Aug 29 22:31:51 CEST 2014


Terry J. Reedy added the comment:

3.1-3.3 only get security fixes. 3.4 outputs "write to closed file", so it appears to have the same issue. The proposed change seems reasonable to me, as a bugfix.

----------
nosy: +terry.reedy
stage:  -> test needed
versions: +Python 3.4, Python 3.5 -Python 3.2

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


More information about the Python-bugs-list mailing list