From: Victor Stinner Date: Fri, 27 Jun 2014 21:57:19 +0000 (+0200) Subject: (Merge 3.4) Issue #11453: asyncore: emit a ResourceWarning when an unclosed X-Git-Tag: v3.5.0a1~1388 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a81088ae129f251ad4d1c2cb208ffd2e8d52ea4a;p=python (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. --- a81088ae129f251ad4d1c2cb208ffd2e8d52ea4a