commit | 4d4c69dc35154a9c21fed1b6b4088e741fbc6ae6 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Jun 27 23:52:03 2014 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Jun 27 23:52:03 2014 +0200 |
tree | f4ca0640823595c1beca048f262ee5035166ec14 | |
parent | 252d40ef1ee627148ae12ab9cbf812cfeeb27655 [diff] |
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.