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:55:05 +00:00
parent 8654ce1270
commit ad5fa2fbd0
2 changed files with 12 additions and 6 deletions

View file

@ -26,9 +26,12 @@ To use, simply 'import logging' and log away!
import sys, os, time, io, traceback, warnings import sys, os, time, io, traceback, warnings
__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']
try: try:
import codecs import codecs

View file

@ -89,6 +89,9 @@ Installation
Library Library
------- -------
- Issue #5854: Updated __all__ to include some missing names and remove some
names which should not be exported.
- Issue #3102: All global symbols that the _ctypes extension defines - Issue #3102: All global symbols that the _ctypes extension defines
are now prefixed with 'Py' or '_ctypes'. are now prefixed with 'Py' or '_ctypes'.