Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.

This commit is contained in:
Vinay Sajip 2009-04-27 13:51:32 +00:00
parent 536120e34d
commit 229bc0119a
2 changed files with 10 additions and 4 deletions

View File

@ -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 import sys, os, types, time, string, cStringIO, traceback

View File

@ -148,7 +148,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 #5741: don't disallow "%%" (which is an escape for "%") when setting - Issue #5741: don't disallow "%%" (which is an escape for "%") when setting