diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2009-04-27 13:55:05 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2009-04-27 13:55:05 (GMT) |
commit | ad5fa2fbd08ee221002f41fd6a9c41362396cb6d (patch) | |
tree | f349759f870283d1cc3ee78b29b5e14420a9a336 | |
parent | 8654ce12703c6596086a20fe946014f2fd7b2b78 (diff) | |
download | cpython-ad5fa2fbd08ee221002f41fd6a9c41362396cb6d.zip cpython-ad5fa2fbd08ee221002f41fd6a9c41362396cb6d.tar.gz cpython-ad5fa2fbd08ee221002f41fd6a9c41362396cb6d.tar.bz2 |
Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.
-rw-r--r-- | Lib/logging/__init__.py | 9 | ||||
-rw-r--r-- | Misc/NEWS | 9 |
2 files changed, 12 insertions, 6 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index e294880..c95cea0 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -26,9 +26,12 @@ To use, simply 'import logging' and log away! import sys, os, time, io, traceback, warnings __all__ = ['BASIC_FORMAT', 'BufferingFormatter', 'CRITICAL', 'DEBUG', 'ERROR', - 'FATAL', 'FileHandler', 'Filter', 'Filterer', 'Formatter', 'Handler', - 'INFO', 'LogRecord', 'Logger', 'Manager', 'NOTSET', 'PlaceHolder', - 'RootLogger', 'StreamHandler', 'WARN', 'WARNING'] + 'FATAL', 'FileHandler', 'Filter', 'Formatter', 'Handler', 'INFO', + 'LogRecord', 'Logger', 'LoggerAdapter', 'NOTSET', 'NullHandler', + 'StreamHandler', 'WARN', 'WARNING', 'addLevelName', 'basicConfig', + 'captureWarnings', 'critical', 'debug', 'disable', 'error', + 'exception', 'fatal', 'getLevelName', 'getLogger', 'getLoggerClass', + 'info', 'log', 'makeLogRecord', 'setLoggerClass', 'warn', 'warning'] try: import codecs @@ -89,6 +89,9 @@ Installation Library ------- +- Issue #5854: Updated __all__ to include some missing names and remove some + names which should not be exported. + - Issue #3102: All global symbols that the _ctypes extension defines are now prefixed with 'Py' or '_ctypes'. @@ -455,7 +458,7 @@ Core and Builtins Library ------- -- Issue #5810: Fixed Distutils test_build_scripts so it uses +- Issue #5810: Fixed Distutils test_build_scripts so it uses sysconfig.get_config_vars. - Issue #4951: Fixed failure in test_httpservers. @@ -466,7 +469,7 @@ Library - Issue #5732: added a new command in Distutils: check. -- Issue #5731: Distutils bdist_wininst no longer worked on non-Windows +- Issue #5731: Distutils bdist_wininst no longer worked on non-Windows platforms. Initial patch by Paul Moore. - Issue #5095: Added bdist_msi to the list of bdist supported formats. @@ -931,7 +934,7 @@ Tests ----- - regrtest no longer treats ImportError as equivalent to SkipTest. Imports - that should cause a test to be skipped are now done using import_module + that should cause a test to be skipped are now done using import_module from test support, which does the conversion. - Issue #5083: New 'gui' resource for regrtest. |