Author nadeem.vawda
Recipients eric.araujo, idank, kiilerix, nadeem.vawda, pitrou
Date 2011-08-27.10:45:47
SpamBayes Score 0.00063019
Marked as misclassified No
Message-id <1314441948.09.0.584796165232.issue12833@psf.upfronthosting.co.za>
In-reply-to
Content
Reproduced on 3.3 head. Looking at the documentation of the C readline
library, it needs to know the length of the prompt in order to display
properly, so this seems to be an acknowledged limitation of the underlying
library rather than a bug on our side.

Still, this behavior is surprising and undesirable. I would suggest adding
a note to the docs for the readline module, directing users to write:

    input("foo> ")

instead of:

    sys.stdout.write("foo> ")
    input()
History
Date User Action Args
2011-08-27 10:45:48nadeem.vawdasetrecipients: + nadeem.vawda, pitrou, kiilerix, eric.araujo, idank
2011-08-27 10:45:48nadeem.vawdasetmessageid: <1314441948.09.0.584796165232.issue12833@psf.upfronthosting.co.za>
2011-08-27 10:45:47nadeem.vawdalinkissue12833 messages
2011-08-27 10:45:47nadeem.vawdacreate