[issue29679] Add @contextlib.asynccontextmanager

Nick Coghlan report at bugs.python.org
Wed Mar 1 00:45:23 EST 2017


Nick Coghlan added the comment:

python-dev thread: https://mail.python.org/pipermail/python-dev/2017-March/147501.html

In formulating my question for the list, it occurred to me that while asynccontextmanager doesn't need to depend on asyncio, the AsyncExitStack proposed in issue 29302 likely will, which pushes me towards favouring the `asyncio.contextlib.asynccontextmanager` approach.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29679>
_______________________________________


More information about the Python-bugs-list mailing list