Author ajaborsk
Recipients ajaborsk, gvanrossum, vstinner, yselivanov
Date 2014-07-11.20:23:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405110230.82.0.890171299066.issue21962@psf.upfronthosting.co.za>
In-reply-to
Content
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 ?
History
Date User Action Args
2014-07-11 20:23:50ajaborsksetrecipients: + ajaborsk, gvanrossum, vstinner, yselivanov
2014-07-11 20:23:50ajaborsksetmessageid: <1405110230.82.0.890171299066.issue21962@psf.upfronthosting.co.za>
2014-07-11 20:23:50ajaborsklinkissue21962 messages
2014-07-11 20:23:50ajaborskcreate