]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #13502: threading: Fix a race condition in Event.wait() that made it
authorCharles-François Natali <neologix@free.fr>
Sat, 7 Jan 2012 17:26:39 +0000 (18:26 +0100)
committerCharles-François Natali <neologix@free.fr>
Sat, 7 Jan 2012 17:26:39 +0000 (18:26 +0100)
return False when the event was set and cleared right after.

1  2 
Doc/library/threading.rst
Lib/test/lock_tests.py
Lib/threading.py
Misc/NEWS

Simple merge
Simple merge
Simple merge
diff --cc Misc/NEWS
index 274465a146c57d4c59017fde6655943628d162fb,9212f9e622932792abe2324914ab4bb0a16deacd..05664f67679d95d6e6dc54dfd5143ac84c413c00
+++ b/Misc/NEWS
@@@ -422,11 -97,9 +422,14 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #13502: threading: Fix a race condition in Event.wait() that made it
+   return False when the event was set and cleared right after.
 +- Issue #9993: When the source and destination are on different filesystems,
 +  and the source is a symlink, shutil.move() now recreates a symlink on the
 +  destination instead of copying the file contents.  Patch by Jonathan Niehof
 +  and Hynek Schlawack.
 +
  - Issue #12926: Fix a bug in tarfile's link extraction.
  
  - Issue #13696: Fix the 302 Relative URL Redirection problem.