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 nadeem.vawda
Recipients eric.araujo, idank, kiilerix, nadeem.vawda, pitrou
Date 2011-08-27.10:45:47
SpamBayes Score 0.0006301899
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