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 ajaksu2
Recipients ajaksu2, rickbking
Date 2008-04-07.19:48:58
SpamBayes Score 0.376979
Marked as misclassified No
Message-id <>
I don't think it should stop using raw_input just because you changed
stdin, as you can change it to something that will work with raw_input.
>>> import sys
>>> sys.stdin = open("/dev/tty")
>>> raw_input()

You can tie it to any object (e.g. a GUI input) that supports the file
protocol and keep using raw_input. Or change Cmd.use_rawinput to 0 to
use stdin.readline directly.

On a related issue. Cmd.use_rawinput should be "True", not 1...
Date User Action Args
2008-04-07 19:48:59ajaksu2setspambayes_score: 0.376979 -> 0.376979
recipients: + ajaksu2, rickbking
2008-04-07 19:48:59ajaksu2setspambayes_score: 0.376979 -> 0.376979
messageid: <>
2008-04-07 19:48:58ajaksu2linkissue2571 messages
2008-04-07 19:48:58ajaksu2create