From: Georg Brandl Date: Wed, 6 Sep 2006 20:06:27 +0000 (+0000) Subject: Fix missing import of the types module in logging.config. X-Git-Tag: v2.5c2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4dc095249e9b53ce59af760ed0adad56c5a5a9fe;p=thirdparty%2FPython%2Fcpython.git Fix missing import of the types module in logging.config. (backport from rev. 51785) --- diff --git a/Lib/logging/config.py b/Lib/logging/config.py index 5ea0d15b64f2..f14eb122b7c7 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -27,7 +27,7 @@ Copyright (C) 2001-2004 Vinay Sajip. All Rights Reserved. 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 diff --git a/Misc/NEWS b/Misc/NEWS index 2df8b0da2c3a..316f1f53ddcd 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -46,6 +46,8 @@ Core and builtins 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.