]> git.ipfire.org Git - thirdparty/tornado.git/commit
Import t.p.asyncio automatically when available in gen.
authorBen Darnell <ben@bendarnell.com>
Tue, 15 Sep 2015 02:42:41 +0000 (22:42 -0400)
committerBen Darnell <ben@bendarnell.com>
Tue, 15 Sep 2015 02:42:41 +0000 (22:42 -0400)
commit6a0808146bbaa701a4ad46aaf79b5c80415fca6a
tree49c7cbd25d0a675b58d25c02a0eff31ab6d96494
parente1397e3d60b014e8950ade3e8f13c2bd8a53bc00
Import t.p.asyncio automatically when available in gen.

This makes the _wrap_awaitable infinite recursion less likely
to occur, although it could show up again when another coroutine
framework adopts PEP 492.

Fixes #1499.
tornado/gen.py