[issue29679] Add @contextlib.asynccontextmanager
Jelle Zijlstra
report at bugs.python.org
Tue Feb 28 18:21:09 EST 2017
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 <report at bugs.python.org>
<http://bugs.python.org/issue29679>
_______________________________________
More information about the Python-bugs-list
mailing list