Nadeem Vawda <[email protected]> added the comment:
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()
----------
nosy: +nadeem.vawda
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12833>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com