[issue29679] Add @contextlib.asynccontextmanager

Raymond Hettinger report at bugs.python.org
Tue Feb 28 23:35:40 EST 2017


Raymond Hettinger added the comment:

Nick, do you think this belongs in contextlib to be side-by-side with @contextmanager or would it be better to group all async tools in their own module.   

It seems to me that people are going to ask for an async version of everything, effectively shadowing the core grammar and the library.  Before we go very far down that road, I think we should decide where it all should go.

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list