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 JelleZijlstra
Recipients JelleZijlstra
Date 2017-02-28.23:21:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488324069.16.0.696570474408.issue29679@psf.upfronthosting.co.za>
In-reply-to
Content
An async equivalent of @contextmanager would be an obvious use case for async generators and the async with statement. In my own code, I have several async context objects that could have been written more concisely if @asynccontextmanager was available.

I'll be working on a PR to implement this.
History
Date User Action Args
2017-02-28 23:21:09JelleZijlstrasetrecipients: + JelleZijlstra
2017-02-28 23:21:09JelleZijlstrasetmessageid: <1488324069.16.0.696570474408.issue29679@psf.upfronthosting.co.za>
2017-02-28 23:21:09JelleZijlstralinkissue29679 messages
2017-02-28 23:21:09JelleZijlstracreate