commit | 15982aad2b09086b5d8819ed5dfb0ec6195fd41a | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Mon Oct 05 21:56:22 2015 -0700 |
committer | Benjamin Peterson <benjamin@python.org> | Mon Oct 05 21:56:22 2015 -0700 |
tree | 7a86e21a0cc6e7eecf9a7d26fba3c64b696769e5 | |
parent | 601953b67958572162d0ab7d3f24c07340ad9dbb [diff] [blame] |
reinitialize an Event's Condition with a regular lock (closes #25319)
diff --git a/Lib/threading.py b/Lib/threading.py index 37aa3b8..80f809c 100644 --- a/Lib/threading.py +++ b/Lib/threading.py
@@ -496,7 +496,7 @@ def _reset_internal_locks(self): # private! called by Thread._reset_internal_locks by _after_fork() - self._cond.__init__() + self._cond.__init__(Lock()) def is_set(self): """Return true if and only if the internal flag is true."""