[Python-checkins] r72006 - in python/branches/py3k: Lib/logging/__init__.py Misc/NEWS

vinay.sajip python-checkins at python.org
Mon Apr 27 15:55:05 CEST 2009


Author: vinay.sajip
Date: Mon Apr 27 15:55:05 2009
New Revision: 72006
Log:
Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.
Modified:
 python/branches/py3k/Lib/logging/__init__.py
 python/branches/py3k/Misc/NEWS
Modified: python/branches/py3k/Lib/logging/__init__.py
==============================================================================
--- python/branches/py3k/Lib/logging/__init__.py	(original)
+++ python/branches/py3k/Lib/logging/__init__.py	Mon Apr 27 15:55:05 2009
@@ -26,9 +26,12 @@
 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
Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Mon Apr 27 15:55:05 2009
@@ -89,6 +89,9 @@
 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 @@
 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 @@
 
 - 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 @@
 -----
 
 - 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.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /