]> granicus.if.org Git - python/commit
(Merge 3.4) Issue #11453: asyncore: emit a ResourceWarning when an unclosed
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 27 Jun 2014 21:57:19 +0000 (23:57 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 27 Jun 2014 21:57:19 +0000 (23:57 +0200)
commita81088ae129f251ad4d1c2cb208ffd2e8d52ea4a
tree15831806e742293faad56b1b3c880d1293cf2a4c
parentc3bc856f426d8c182b4ecbdf584717e27389c505
parent4d4c69dc35154a9c21fed1b6b4088e741fbc6ae6
(Merge 3.4) Issue #11453: asyncore: emit a ResourceWarning when an unclosed
file_wrapper object is destroyed. The destructor now closes the file if needed.
The close() method can now be called twice: the second call does nothing.
Lib/asyncore.py
Lib/test/test_asyncore.py
Misc/NEWS