[Python-checkins] r75228 - in python/branches/release26-maint: Lib/logging/__init__.py Lib/test/test___all__.py Misc/NEWS

georg.brandl python-checkins at python.org
Sun Oct 4 11:04:00 CEST 2009


Author: georg.brandl
Date: Sun Oct  4 11:03:59 2009
New Revision: 75228

Log:
#7052: remove nonexisting NullHandler from logging.__all__.

Modified:
   python/branches/release26-maint/Lib/logging/__init__.py
   python/branches/release26-maint/Lib/test/test___all__.py
   python/branches/release26-maint/Misc/NEWS

Modified: python/branches/release26-maint/Lib/logging/__init__.py
==============================================================================
--- python/branches/release26-maint/Lib/logging/__init__.py	(original)
+++ python/branches/release26-maint/Lib/logging/__init__.py	Sun Oct  4 11:03:59 2009
@@ -25,7 +25,7 @@
 
 __all__ = ['BASIC_FORMAT', 'BufferingFormatter', 'CRITICAL', 'DEBUG', 'ERROR',
            'FATAL', 'FileHandler', 'Filter', 'Formatter', 'Handler', 'INFO',
-           'LogRecord', 'Logger', 'LoggerAdapter', 'NOTSET', 'NullHandler',
+           'LogRecord', 'Logger', 'LoggerAdapter', 'NOTSET',
            'StreamHandler', 'WARN', 'WARNING', 'addLevelName', 'basicConfig',
            'captureWarnings', 'critical', 'debug', 'disable', 'error',
            'exception', 'fatal', 'getLevelName', 'getLogger', 'getLoggerClass',

Modified: python/branches/release26-maint/Lib/test/test___all__.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test___all__.py	(original)
+++ python/branches/release26-maint/Lib/test/test___all__.py	Sun Oct  4 11:03:59 2009
@@ -91,6 +91,7 @@
         self.check_all("keyword")
         self.check_all("linecache")
         self.check_all("locale")
+        self.check_all("logging")
         self.check_all("macpath")
         self.check_all("macurl2path")
         self.check_all("mailbox")

Modified: python/branches/release26-maint/Misc/NEWS
==============================================================================
--- python/branches/release26-maint/Misc/NEWS	(original)
+++ python/branches/release26-maint/Misc/NEWS	Sun Oct  4 11:03:59 2009
@@ -18,9 +18,12 @@
 Library
 -------
 
+- Issue #7052: Removed nonexisting NullHandler from logging.__all__.
+
 - Issue #7039: Fixed distutils.tests.test_sysconfig when running on
   installation with no build.
 
+
 What's New in Python 2.6.3
 ==========================
 


More information about the Python-checkins mailing list