pexpect/pexpect — pull request #67 by auntieNeo (2014-06-03 15:06:27+00:00)
Title: Fixed TypeError using readline with spawnu

There seems to be a bug in the spawn.readline() function that makes it impossible to use with spawnu objects (i.e. when using strings rather than bytes). I wrote a small patch that fixes this. I patched against the pexpect-3.2 tarball and tested with Python 3.2 on cygwin. I also included a small test that can reproduce this bug.