pexpect/pexpect — pull request #69 by takluyver (2014-06-07 01:12:56+00:00)
Title: asyncio integration (very rough)

This is a first stab at integrating Pexpect with [asyncio](https://docs.python.org/3/library/asyncio.html), to allow waiting for more than one process at once. Using it looks [like this](https://gist.github.com/takluyver/aef3bd23725aa34af7a3), although the API is almost certainly going to change before release. So far, I've only implemented async behaviour for expecting a pattern in output - we could add async support for writing large amounts of data to the pty, for opening the connection, for wait() and waitnoecho().

Definitely not ready for merge.