Commits

Georg Brandl committed 218cdd6

#7052: remove nonexisting NullHandler from logging.__all__.

Comments (0)

Files changed (3)

Lib/logging/__init__.py

 
 __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',

Lib/test/test___all__.py

         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")
 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
 ==========================