[issue29679] Add @contextlib.asynccontextmanager
Yury Selivanov
report at bugs.python.org
Thu Mar 2 23:02:46 EST 2017
Yury Selivanov added the comment:
> so it would need to split any code using "async def" and "await" out to a separate file that only gets imported on 3.5+ (and similarly only run the corresponding test cases on 3.5+).
This seems doable. I'd only vote to keep contextlib.py as one file in CPython though.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29679>
_______________________________________
More information about the Python-bugs-list
mailing list