Kaydet (Commit) e34d6aa8 authored tarafından Vinay Sajip's avatar Vinay Sajip

Issue #5854: Updated __all__ to include some missing names and remove some names…

Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.
üst 94290d39
...@@ -24,9 +24,12 @@ To use, simply 'import logging' and log away! ...@@ -24,9 +24,12 @@ 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', 'Filterer', 'Formatter', 'Handler', 'FATAL', 'FileHandler', 'Filter', 'Formatter', 'Handler', 'INFO',
'INFO', 'LogRecord', 'Logger', 'Manager', 'NOTSET', 'PlaceHolder', 'LogRecord', 'Logger', 'LoggerAdapter', 'NOTSET', 'NullHandler',
'RootLogger', 'StreamHandler', 'WARN', 'WARNING'] '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 import sys, os, types, time, string, cStringIO, traceback, warnings
...@@ -43,8 +46,8 @@ except ImportError: ...@@ -43,8 +46,8 @@ except ImportError:
__author__ = "Vinay Sajip <vinay_sajip@red-dove.com>" __author__ = "Vinay Sajip <vinay_sajip@red-dove.com>"
__status__ = "production" __status__ = "production"
__version__ = "0.5.0.7" __version__ = "0.5.0.8"
__date__ = "20 January 2009" __date__ = "27 April 2009"
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# Miscellaneous module data # Miscellaneous module data
......
...@@ -252,7 +252,10 @@ Core and Builtins ...@@ -252,7 +252,10 @@ Core and Builtins
Library 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. sysconfig.get_config_vars.
- Issue #4951: Fixed failure in test_httpservers. - Issue #4951: Fixed failure in test_httpservers.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment