[issue30300] asyncio.Controller

Nathaniel Smith report at bugs.python.org
Mon May 8 19:06:28 EDT 2017


Nathaniel Smith added the comment:

Looks interesting! What's the advantage over running the server and the test in the same loop? The ability to use blocking operations in the tests, and to re-use an expensive-to-start server over multiple tests? (I've mostly used threads in tests to run blocking code for interoperability testing, and kept the async code in the main thread, so this is a bit novel to me.)

----------
nosy: +njs

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


More information about the Python-bugs-list mailing list