[Python-checkins] r76509 - python/trunk/Lib/logging/__init__.py

vinay.sajip python-checkins at python.org
Wed Nov 25 15:12:04 CET 2009


Author: vinay.sajip
Date: Wed Nov 25 15:12:03 2009
New Revision: 76509

Log:
logging: Issue 6615: Changed handler prepend to append.

Modified:
   python/trunk/Lib/logging/__init__.py

Modified: python/trunk/Lib/logging/__init__.py
==============================================================================
--- python/trunk/Lib/logging/__init__.py	(original)
+++ python/trunk/Lib/logging/__init__.py	Wed Nov 25 15:12:03 2009
@@ -610,7 +610,7 @@
     """
     _acquireLock()
     try:
-        _handlerList.insert(0, weakref.ref(handler, _removeHandlerRef))
+        _handlerList.append(weakref.ref(handler, _removeHandlerRef))
     finally:
         _releaseLock()
 


More information about the Python-checkins mailing list