Message265663
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. |
|
Date |
User |
Action |
Args |
2016-05-16 03:32:57 | martin.panter | set | recipients:
+ martin.panter, ronaldoussoren, pitrou, vstinner, nadeem.vawda, ezio.melotti, r.david.murray, michael.foord, python-dev |
2016-05-16 03:32:56 | martin.panter | set | messageid: <1463369576.93.0.928992413713.issue12669@psf.upfronthosting.co.za> |
2016-05-16 03:32:56 | martin.panter | link | issue12669 messages |
2016-05-16 03:32:55 | martin.panter | create | |
|