]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
(Merge 3.4) asyncio, Tulip issue 201: Fix a race condition in wait_for()
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 28 Aug 2014 09:19:46 +0000 (11:19 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 28 Aug 2014 09:19:46 +0000 (11:19 +0200)
Don't raise a TimeoutError if we reached the timeout and the future completed
in the same iteration of the event loop. A side effect of the bug is that
Queue.get() looses items.


Trivial merge