Antoine Pitrou <pit...@free.fr> added the comment: Here is a patch. The bugfix itself is quite pedestrian, but the test is more interesting. I did what I could to fork a subprocess into a pseudoterminal so as to trigger the GNU readline code path. The only limitation I've found is that I'm unable to read further on the child's stdout after input() has been called. The test therefore uses a pipe to do the return checking.
---------- keywords: +patch nosy: +neologix stage: needs patch -> patch review Added file: http://bugs.python.org/file23610/input_readline.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13342> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com