Author mdomingues
Recipients BreamoreBoy, eric.araujo, ezio.melotti, ggenellina, mdomingues
Date 2012-09-24.01:21:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348449692.1.0.123936775197.issue1927@psf.upfronthosting.co.za>
In-reply-to
Content
The code that dictates this behavior is in /Parser/myreadline.c and has not been rectified yet in either Python 2.7 (http://hg.python.org/cpython/file/bfdf366a779a/Parser/myreadline.c#l107) or the default branch (http://hg.python.org/cpython/file/c64dec45d46f/Parser/myreadline.c#l111). Specifically, within these functions, references to standard error should actually be references to standard out.

The attached file is a proposed patch for this bug on the 2.7 branch, bringing interpreter behavior into accordance with the Python documentation (http://docs.python.org/library/functions.html#raw_input), which states that the prompt is written to standard out, as opposed to standard error.
History
Date User Action Args
2012-09-24 01:21:32mdominguessetrecipients: + mdomingues, ggenellina, ezio.melotti, eric.araujo, BreamoreBoy
2012-09-24 01:21:32mdominguessetmessageid: <1348449692.1.0.123936775197.issue1927@psf.upfronthosting.co.za>
2012-09-24 01:21:31mdomingueslinkissue1927 messages
2012-09-24 01:21:30mdominguescreate