[issue22298] Lib/warnings.py _show_warning does not protect against being called with a file like object which is closed
Julius Lehmann-Richter
report at bugs.python.org
Fri Nov 25 06:05:34 EST 2016
Julius Lehmann-Richter added the comment:
Hey Wolfgang,
thank you for the clarification.
I would never write such code of course, I stumbled across this with a third-party program.
I understand your point of view and I actually agree. I would not have even opened this report if it had not been for that comment.
If the error is still reproducable in the software I will open a bug with them instead and tell them to please fix it :P
As far as I am concerned this is not a bug (any more)
Cheers Julius
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22298>
_______________________________________
More information about the Python-bugs-list
mailing list