From: Victor Stinner Date: Thu, 28 Aug 2014 09:19:46 +0000 (+0200) Subject: (Merge 3.4) asyncio, Tulip issue 201: Fix a race condition in wait_for() X-Git-Tag: v3.5.0a1~999 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6128a4a807aa5117fa08b1b1ba8cfd437b995fb;p=python (Merge 3.4) asyncio, Tulip issue 201: Fix a race condition in wait_for() 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. --- e6128a4a807aa5117fa08b1b1ba8cfd437b995fb