diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-08-28 11:19:25 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-08-28 11:19:25 +0200 |
commit | f7fd76296c2e869b9239986193e8cd7b4dee813e (patch) | |
tree | 55b5b48ef07f1dfe0ee52aea4541c04baac18f32 /Python/pythonrun.c | |
parent | c3590e4e2d334d8b099f5e1ca388a0ea3ebef01a (diff) | |
download | cpython-f7fd76296c2e869b9239986193e8cd7b4dee813e.tar.gz |
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions