cpython: 966887830011 (original) (raw)

Mercurial > cpython

changeset 81531:966887830011 2.7

Issue #9501: Improved shutdown handling to deal with module attributes correctly. [#9501]

Vinay Sajip <vinay_sajip@yahoo.co.uk>
date Tue, 15 Jan 2013 17:55:13 +0000
parents 917ae14831ec
children 6d06b223c664
files Lib/logging/__init__.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-)[+] [-] Lib/logging/__init__.py 3

line wrap: on

line diff

--- a/Lib/logging/init.py +++ b/Lib/logging/init.py @@ -624,7 +624,8 @@ def _removeHandlerRef(wr): # This function can be called during module teardown, when globals are # set to None. If _acquireLock is None, assume this is the case and do # nothing.