#7052: remove nonexisting NullHandler from logging.__all__.

This commit is contained in:
Georg Brandl 2009-10-04 09:03:59 +00:00
parent e8b2d18f80
commit 2b4df43c1c
3 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,7 @@ To use, simply 'import logging' and log away!
__all__ = ['BASIC_FORMAT', 'BufferingFormatter', 'CRITICAL', 'DEBUG', 'ERROR', __all__ = ['BASIC_FORMAT', 'BufferingFormatter', 'CRITICAL', 'DEBUG', 'ERROR',
'FATAL', 'FileHandler', 'Filter', 'Formatter', 'Handler', 'INFO', 'FATAL', 'FileHandler', 'Filter', 'Formatter', 'Handler', 'INFO',
'LogRecord', 'Logger', 'LoggerAdapter', 'NOTSET', 'NullHandler', 'LogRecord', 'Logger', 'LoggerAdapter', 'NOTSET',
'StreamHandler', 'WARN', 'WARNING', 'addLevelName', 'basicConfig', 'StreamHandler', 'WARN', 'WARNING', 'addLevelName', 'basicConfig',
'captureWarnings', 'critical', 'debug', 'disable', 'error', 'captureWarnings', 'critical', 'debug', 'disable', 'error',
'exception', 'fatal', 'getLevelName', 'getLogger', 'getLoggerClass', 'exception', 'fatal', 'getLevelName', 'getLogger', 'getLoggerClass',

View File

@ -91,6 +91,7 @@ class AllTest(unittest.TestCase):
self.check_all("keyword") self.check_all("keyword")
self.check_all("linecache") self.check_all("linecache")
self.check_all("locale") self.check_all("locale")
self.check_all("logging")
self.check_all("macpath") self.check_all("macpath")
self.check_all("macurl2path") self.check_all("macurl2path")
self.check_all("mailbox") self.check_all("mailbox")

View File

@ -18,9 +18,12 @@ Core and Builtins
Library Library
------- -------
- Issue #7052: Removed nonexisting NullHandler from logging.__all__.
- Issue #7039: Fixed distutils.tests.test_sysconfig when running on - Issue #7039: Fixed distutils.tests.test_sysconfig when running on
installation with no build. installation with no build.
What's New in Python 2.6.3 What's New in Python 2.6.3
========================== ==========================