[Python-checkins] r51785 - in python/trunk: Lib/logging/config.py Misc/NEWS

georg.brandl python-checkins at python.org
Wed Sep 6 22:05:59 CEST 2006


Author: georg.brandl
Date: Wed Sep  6 22:05:58 2006
New Revision: 51785

Modified:
   python/trunk/Lib/logging/config.py
   python/trunk/Misc/NEWS
Log:
Fix missing import of the types module in logging.config.


Modified: python/trunk/Lib/logging/config.py
==============================================================================
--- python/trunk/Lib/logging/config.py	(original)
+++ python/trunk/Lib/logging/config.py	Wed Sep  6 22:05:58 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/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Wed Sep  6 22:05:58 2006
@@ -12,6 +12,10 @@
 Core and builtins
 -----------------
 
+- Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.
+  Also make sure that every exception class has __module__ set to
+  'exceptions'.
+
 - Bug #1550983: emit better error messages for erroneous relative
   imports (if not in package and if beyond toplevel package).
 
@@ -36,6 +40,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