mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +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
|
||||
|
||||
__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']
|
||||
|
||||
try:
|
||||
import codecs
|
||||
|
|
|
@ -89,6 +89,9 @@ Installation
|
|||
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
|
||||
are now prefixed with 'Py' or '_ctypes'.
|
||||
|
||||
|
@ -455,7 +458,7 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #5810: Fixed Distutils test_build_scripts so it uses
|
||||
- Issue #5810: Fixed Distutils test_build_scripts so it uses
|
||||
sysconfig.get_config_vars.
|
||||
|
||||
- Issue #4951: Fixed failure in test_httpservers.
|
||||
|
@ -466,7 +469,7 @@ Library
|
|||
|
||||
- Issue #5732: added a new command in Distutils: check.
|
||||
|
||||
- Issue #5731: Distutils bdist_wininst no longer worked on non-Windows
|
||||
- Issue #5731: Distutils bdist_wininst no longer worked on non-Windows
|
||||
platforms. Initial patch by Paul Moore.
|
||||
|
||||
- Issue #5095: Added bdist_msi to the list of bdist supported formats.
|
||||
|
@ -931,7 +934,7 @@ Tests
|
|||
-----
|
||||
|
||||
- regrtest no longer treats ImportError as equivalent to SkipTest. Imports
|
||||
that should cause a test to be skipped are now done using import_module
|
||||
that should cause a test to be skipped are now done using import_module
|
||||
from test support, which does the conversion.
|
||||
|
||||
- Issue #5083: New 'gui' resource for regrtest.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue