[Python-checkins] r51787 - in python/branches/release25-maint: Lib/logging/config.py Misc/NEWS

georg.brandl python-checkins at python.org
Wed Sep 6 22:06:28 CEST 2006


Author: georg.brandl
Date: Wed Sep  6 22:06:27 2006
New Revision: 51787

Modified:
   python/branches/release25-maint/Lib/logging/config.py
   python/branches/release25-maint/Misc/NEWS
Log:
Fix missing import of the types module in logging.config.
 (backport from rev. 51785)

Modified: python/branches/release25-maint/Lib/logging/config.py
==============================================================================
--- python/branches/release25-maint/Lib/logging/config.py	(original)
+++ python/branches/release25-maint/Lib/logging/config.py	Wed Sep  6 22:06:27 2006
@@ -27,7 +27,7 @@
 To use, simply 'import logging' and log away!
 """
 
-import sys, logging, logging.handlers, string, socket, struct, os, traceback
+import sys, logging, logging.handlers, string, socket, struct, os, traceback, types
 
 try:
     import thread

Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS	(original)
+++ python/branches/release25-maint/Misc/NEWS	Wed Sep  6 22:06:27 2006
@@ -46,6 +46,8 @@
 Library
 -------
 
+- Fix missing import of the types module in logging.config.
+
 - Patch #1550886: Fix decimal module context management implementation
   to match the localcontext() example from PEP 343.
 


More information about the Python-checkins mailing list