mirror of https://github.com/python/cpython
#7052: remove nonexisting NullHandler from logging.__all__.
This commit is contained in:
parent
e8b2d18f80
commit
2b4df43c1c
|
@ -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):
|
||||||
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
|
||||||
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
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue