From: Vinay Sajip Date: Mon, 27 Apr 2009 13:44:27 +0000 (+0000) Subject: Issue #5854: Updated __all__ to include some missing names and remove some names... X-Git-Tag: v2.7a1~1363 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e34d6aa86fbf889def9ce6b40d4578e9741a693f;p=python Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported. --- diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 0b5e671cbe..b499c284a5 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -24,9 +24,12 @@ To use, simply 'import logging' and log away! """ __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'] import sys, os, types, time, string, cStringIO, traceback, warnings @@ -43,8 +46,8 @@ except ImportError: __author__ = "Vinay Sajip " __status__ = "production" -__version__ = "0.5.0.7" -__date__ = "20 January 2009" +__version__ = "0.5.0.8" +__date__ = "27 April 2009" #--------------------------------------------------------------------------- # Miscellaneous module data diff --git a/Misc/NEWS b/Misc/NEWS index 7c705f1c7f..e727d1f8ca 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -252,7 +252,10 @@ Core and Builtins Library ------- -- Issue #5810: Fixed Distutils test_build_scripts so it uses +- Issue #5854: Updated __all__ to include some missing names and remove some + names which should not be exported. + +- Issue #5810: Fixed Distutils test_build_scripts so it uses sysconfig.get_config_vars. - Issue #4951: Fixed failure in test_httpservers.