Author martin.panter
Recipients ezio.melotti, martin.panter, michael.foord, nadeem.vawda, pitrou, python-dev, r.david.murray, ronaldoussoren, vstinner
Date 2016-05-16.03:32:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
FYI I just added a reasonably generic function pty_run(script, input) -> output to Lib/test/ for Issue 26870. It runs a Python script string in a child process under a pseudo-terminal. If you need to drive the curses tests with a pseudo-terminal, my code may be useful. There were about six different bugs and platform-specific quirks to work around (affecting Open BSD, Linux and various OS X versions), so I recommend learning from my experience rather than doing it all from scratch :)

Also, test_curses on Python 2 fails for me, but that is probably a separate bug.
Date User Action Args
2016-05-16 03:32:57martin.pantersetrecipients: + martin.panter, ronaldoussoren, pitrou, vstinner, nadeem.vawda, ezio.melotti, r.david.murray, michael.foord, python-dev
2016-05-16 03:32:56martin.pantersetmessageid: <>
2016-05-16 03:32:56martin.panterlinkissue12669 messages
2016-05-16 03:32:55martin.pantercreate