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 <1463369576.93.0.928992413713.issue12669@psf.upfronthosting.co.za>
In-reply-to
Content
FYI I just added a reasonably generic function pty_run(script, input) -> output to Lib/test/test_readline.py:120 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.
History
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: <1463369576.93.0.928992413713.issue12669@psf.upfronthosting.co.za>
2016-05-16 03:32:56martin.panterlinkissue12669 messages
2016-05-16 03:32:55martin.pantercreate