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 <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