Author martin.panter
Recipients Arfrever, brett.cannon, doko, ezio.melotti, martin.panter, nadeem.vawda, petri.lehtinen, python-dev, serhiy.storchaka, vstinner
Date 2016-01-19.00:50:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453164627.72.0.27967595715.issue13886@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a possible patch which:

* Runs the three test_input_tty() tests in a fresh child Python interpreter, for control over whether Readline is loaded. A pseudoterminal is used for stdin and stdout, and stderr is left untouched to easily see error messages.
* Repeats each test with and without Readline enabled
* Only tests the error handling without Readline
* Fixes the non-error test to use proper UTF-8 input

With my patch applied, there are a couple of prompts mixed up in the test log output via stderr, due to Issue 1927. It is not a major problem, but perhaps we should work on fixing that bug first.
History
Date User Action Args
2016-01-19 00:50:27martin.pantersetrecipients: + martin.panter, brett.cannon, doko, vstinner, nadeem.vawda, ezio.melotti, Arfrever, python-dev, petri.lehtinen, serhiy.storchaka
2016-01-19 00:50:27martin.pantersetmessageid: <1453164627.72.0.27967595715.issue13886@psf.upfronthosting.co.za>
2016-01-19 00:50:27martin.panterlinkissue13886 messages
2016-01-19 00:50:27martin.pantercreate