]> granicus.if.org Git - python/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:44:27 +0000 (13:44 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Mon, 27 Apr 2009 13:44:27 +0000 (13:44 +0000)
Lib/logging/__init__.py
Misc/NEWS

index 0b5e671cbe389e18fa8ef00fb165cb7aeccd1927..b499c284a571d7f345044b6f2611d5f0653f8ba5 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, warnings
 
@@ -43,8 +46,8 @@ except ImportError:
 
 __author__  = "Vinay Sajip <vinay_sajip@red-dove.com>"
 __status__  = "production"
-__version__ = "0.5.0.7"
-__date__    = "20 January 2009"
+__version__ = "0.5.0.8"
+__date__    = "27 April 2009"
 
 #---------------------------------------------------------------------------
 #   Miscellaneous module data
index 7c705f1c7f0d01e95622b1e0ceca4f44bd995cbf..e727d1f8ca36623e5712138b9e7a1a58dbd304bf 100644 (file)
--- 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.