flox <la...@yahoo.fr> added the comment:

Thank you Vinay.

Since you "reversed()" the _handlerList, the following part need to be
changed:

Index: Lib/logging/__init__.py
===================================================================
--- Lib/logging/__init__.py     (revision 76508)
+++ Lib/logging/__init__.py     (working copy)
@@ -610,7 +610,7 @@
     """
     _acquireLock()
     try:
-        _handlerList.insert(0, weakref.ref(handler, _removeHandlerRef))
+        _handlerList.append(weakref.ref(handler, _removeHandlerRef))
     finally:
         _releaseLock()

----------
versions: +Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6615>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to