This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients benjamin.peterson, ezio.melotti, neologix, pitrou, stefanholek, vstinner
Date 2011-11-04.17:25:44
SpamBayes Score 0.0021471025
Marked as misclassified No
Message-id <1320427546.56.0.979459694714.issue13342@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-11-04 17:25:46pitrousetrecipients: + pitrou, vstinner, benjamin.peterson, ezio.melotti, stefanholek, neologix
2011-11-04 17:25:46pitrousetmessageid: <1320427546.56.0.979459694714.issue13342@psf.upfronthosting.co.za>
2011-11-04 17:25:45pitroulinkissue13342 messages
2011-11-04 17:25:45pitroucreate