[Python-checkins] r86020 - in python/branches/release31-maint: Lib/logging/config.py
brian.curtin
python-checkins at python.org
Sun Oct 31 05:42:40 CET 2010
Author: brian.curtin
Date: Sun Oct 31 05:42:40 2010
New Revision: 86020
Log:
Merged revisions 86019 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86019 | brian.curtin | 2010-10-30 23:40:53 -0500 (Sat, 30 Oct 2010) | 2 lines
Fix a ResourceWarning for an unclosed socket.
........
Modified:
python/branches/release31-maint/ (props changed)
python/branches/release31-maint/Lib/logging/config.py
Modified: python/branches/release31-maint/Lib/logging/config.py
==============================================================================
--- python/branches/release31-maint/Lib/logging/config.py (original)
+++ python/branches/release31-maint/Lib/logging/config.py Sun Oct 31 05:42:40 2010
@@ -352,6 +352,7 @@
logging._acquireLock()
abort = self.abort
logging._releaseLock()
+ self.socket.close()
def serve(rcvr, hdlr, port):
server = rcvr(port=port, handler=hdlr)
More information about the Python-checkins
mailing list