mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.
This commit is contained in:
parent
8654ce1270
commit
ad5fa2fbd0
2 changed files with 12 additions and 6 deletions
|
@ -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
|
||||||
|
|
|
@ -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'.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue