[issue31960] Protection against using a Future with another loop only works with await

Antoine Pitrou report at bugs.python.org
Tue Nov 7 11:09:50 EST 2017


Antoine Pitrou <pitrou at free.fr> added the comment:

> Maybe the solution is to fix Tornado?

That's a possibility.  I have to convince Ben Darnell that it deserves fixing :-)

Another possibility is to use the asyncio concurrency primitives on Python 3, though that slightly complicates things, especially as the various coroutines there don't take a timeout parameter.

----------
stage: patch review -> 

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31960>
_______________________________________


More information about the Python-bugs-list mailing list