summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-08-28 11:19:25 +0200
committerVictor Stinner <victor.stinner@gmail.com>2014-08-28 11:19:25 +0200
commitf7fd76296c2e869b9239986193e8cd7b4dee813e (patch)
tree55b5b48ef07f1dfe0ee52aea4541c04baac18f32 /Python/pythonrun.c
parentc3590e4e2d334d8b099f5e1ca388a0ea3ebef01a (diff)
downloadcpython-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