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 5ea0d15..f14eb12 100644
--- a/Lib/logging/config.py
+++ b/Lib/logging/config.py
@@ -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
diff --git a/Misc/NEWS b/Misc/NEWS
index 2df8b0d..316f1f5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.