]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #5854: Updated __all__ to include some missing names and remove some names...
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Mon, 27 Apr 2009 13:51:32 +0000 (13:51 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Mon, 27 Apr 2009 13:51:32 +0000 (13:51 +0000)
Lib/logging/__init__.py
Misc/NEWS

index f0e5b4a549cd8db5c8ae7a83c8b139855cbfd359..7cddd9fd33868bc851cfa7c13913fd0d0ac2e8d9 100644 (file)
@@ -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
 
index 65ba2c15978779f11b39ddc0e191c5dc754dcf8a..e44f22ab8fb7a367bf3168df52f80ab7610a5ee0 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -148,7 +148,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 #5741: don't disallow "%%" (which is an escape for "%") when setting