[issue6615] multiprocessing logging support test
flox
report at bugs.python.org
Wed Nov 25 11:45:24 CET 2009
flox <laxyf at 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 <report at bugs.python.org>
<http://bugs.python.org/issue6615>
_______________________________________
More information about the Python-bugs-list
mailing list