[issue10093] Warn when files are not explicitly closed
Antoine Pitrou
report at bugs.python.org
Thu Oct 14 11:20:42 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> Does this work also for sockets?
Not with the current implementation. I guess this could be added, but then I would have to make the warning method ("_dealloc_warn") public on IO classes.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10093>
_______________________________________
More information about the Python-bugs-list
mailing list