summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2009-04-27 13:51:32 +0000
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2009-04-27 13:51:32 +0000
commit229bc0119a5ebf5d90f33f9376488cd03f71176e (patch)
treec545d45f5ab0091fd1762f6c800358715cf5df66
parent536120e34d792ae77c7415197b5186a16af7872d (diff)
downloadcpython-git-229bc0119a5ebf5d90f33f9376488cd03f71176e.tar.gz
Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.
-rw-r--r--Lib/logging/__init__.py9
-rw-r--r--Misc/NEWS5
2 files changed, 10 insertions, 4 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index f0e5b4a549..7cddd9fd33 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -24,9 +24,12 @@ To use, simply 'import logging' and log away!
"""
__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']
import sys, os, types, time, string, cStringIO, traceback
diff --git a/Misc/NEWS b/Misc/NEWS
index 65ba2c1597..e44f22ab8f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -148,7 +148,10 @@ Core and Builtins
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.
- Issue #5741: don't disallow "%%" (which is an escape for "%") when setting