diff options
-rw-r--r-- | Lib/logging/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index b1f92b02e4..667a3a5a4d 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -610,7 +610,7 @@ def _addHandlerRef(handler): """ _acquireLock() try: - _handlerList.insert(0, weakref.ref(handler, _removeHandlerRef)) + _handlerList.append(weakref.ref(handler, _removeHandlerRef)) finally: _releaseLock() |