[issue2571] cmd.py always uses raw_input, even when another stdin is specified

Raghuram Devarakonda report at bugs.python.org
Wed Jun 18 16:28:41 CEST 2008


Raghuram Devarakonda <draghuram at gmail.com> added the comment:

Richard, I see the following very clearly mentioned in the doc:

"If you want a given stdin to be used, make sure to set the instance’s
use_rawinput attribute to False, otherwise stdin will be ignored."

Even though this seems like unnecessary, at least it is documented. If
you want to push for automatically setting use_rawinput when 'stdin' is
not None, you will need to submit a patch and convince some core
developer to agree with you.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2571>
_______________________________________


More information about the Python-bugs-list mailing list