Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6e669fba
Commit
6e669fba
authored
Jan 15, 2013
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Plain Diff
Issue #9501: Merged fix from 3.2.
parents
1e2b7ee3
5e1c3ce1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Lib/logging/__init__.py
Lib/logging/__init__.py
+2
-1
No files found.
Lib/logging/__init__.py
View file @
6e669fba
...
...
@@ -708,7 +708,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.
if
_acquireLock
is
not
None
:
if
(
_acquireLock
is
not
None
and
_handlerList
is
not
None
and
_releaseLock
is
not
None
):
_acquireLock
()
try
:
if
wr
in
_handlerList
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment