[issue18853] Got ResourceWarning unclosed file when running Lib/shlex.py demo
Terry J. Reedy
report at bugs.python.org
Fri Aug 30 23:55:35 CEST 2013
Terry J. Reedy added the comment:
I think the warning should be silenced on all versions where it occurs. There is no real problem here, but there can be with multiple opens without close on non-refcounted interpreters. Patch looks good but I have not tried it.
----------
nosy: +terry.reedy
stage: -> patch review
versions: +Python 2.7, Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18853>
_______________________________________
More information about the Python-bugs-list
mailing list