[issue12833] Document the need to pass the prompt to raw_input() with readline

Irit Katriel report at bugs.python.org
Sun Dec 5 11:22:00 EST 2021


Irit Katriel <iritkatriel at gmail.com> added the comment:

I agree with Martin that this belongs in the input() rather than readline() docs. However, the input() does is quite concise, and the sole example specifies the right way to use it:

https://docs.python.org/3/library/functions.html#input

I find it hard to justify real estate in this doc in which to explain what happens if you combine input with readline and do the wrong thing. 

I suggest we leave it as it is.

----------
nosy: +iritkatriel
resolution:  -> wont fix
status: open -> pending

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue12833>
_______________________________________


More information about the Python-bugs-list mailing list