This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fried
Recipients asvetlov, fried, lukasz.langa, yselivanov
Date 2018-05-16.18:25:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526495147.79.0.682650639539.issue33546@psf.upfronthosting.co.za>
In-reply-to
Content
In 3.9 we can remove the deprecated pattern for accepting __enter__ and __exit__ for locks.  This will free up __await__ for Condition to use for replacing .wait() which is wart from before awaitables. 

My new proposed behavior is

await cond 

which would be equivalent of:

async with cond:
    await cond.wait()
History
Date User Action Args
2018-05-16 18:25:47friedsetrecipients: + fried, asvetlov, lukasz.langa, yselivanov
2018-05-16 18:25:47friedsetmessageid: <1526495147.79.0.682650639539.issue33546@psf.upfronthosting.co.za>
2018-05-16 18:25:47friedlinkissue33546 messages
2018-05-16 18:25:47friedcreate