]> granicus.if.org Git - python/commit
Issue #10093: ResourceWarnings are now issued when files and sockets are
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 29 Oct 2010 10:38:18 +0000 (10:38 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 29 Oct 2010 10:38:18 +0000 (10:38 +0000)
commite033e06db077d5abcb4bc3729d03f8a4a09b2486
tree04445ffa669d4d0df240d680249c7d7a7f661bd4
parent9cbdd75ec5deda8f55edd7caab42dff65d009da2
Issue #10093: ResourceWarnings are now issued when files and sockets are
deallocated without explicit closing.  These warnings are silenced by
default, except in pydebug mode.
Lib/socket.py
Lib/test/test_io.py
Lib/test/test_socket.py
Lib/xml/etree/ElementTree.py
Misc/NEWS
Modules/_elementtree.c
Modules/_io/bufferedio.c
Modules/_io/fileio.c
Modules/_io/textio.c
Modules/socketmodule.c