New submission from Jelle Zijlstra:

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.

----------
components: Library (Lib)
messages: 288729
nosy: Jelle Zijlstra
priority: normal
severity: normal
status: open
title: Add @contextlib.asynccontextmanager
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29679>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to