Kaydet (Commit) 2b4df43c authored tarafından Georg Brandl's avatar Georg Brandl

#7052: remove nonexisting NullHandler from logging.__all__.

üst e8b2d18f
...@@ -25,7 +25,7 @@ To use, simply 'import logging' and log away! ...@@ -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',
......
...@@ -91,6 +91,7 @@ class AllTest(unittest.TestCase): ...@@ -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")
......
...@@ -18,9 +18,12 @@ Core and Builtins ...@@ -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
========================== ==========================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment