[New-bugs-announce] [issue21962] No timeout for asyncio.Event.wait() or asyncio.Condition.wait() ?
Alexandre JABORSKA
report at bugs.python.org
Fri Jul 11 22:23:50 CEST 2014
New submission from Alexandre JABORSKA:
Hi,
Nor asyncio.Event.wait() neither asyncio.Condition.wait() (or .wait_for()) has a timeout parameter, while threading.Event.wait() has one.
A timeout can be specified for the whole task using asyncio.wait_for() but it's tricky.
I guess asyncio implementation could allow a timeout parameter (but I've not looked at the code yet). Maybe is this a feature ?
----------
components: asyncio
messages: 222791
nosy: ajaborsk, gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: No timeout for asyncio.Event.wait() or asyncio.Condition.wait() ?
type: enhancement
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21962>
_______________________________________
More information about the New-bugs-announce
mailing list