Message9537
I know this has been talked about before. I am curious as to why it has
not been fixed.
raw_input does not flush stdout before reading from stdin. This is a
problem because if stdin and stdout are not terminals, then stdout will
not be flushed, and the "user" will not know when he is being prompted.
Of course, I can use -u at the command line for python, but I don't want
everything flushed every time stdout is written to. I only want it flushed
when it is waiting for input. There is the potential for a large amount of
data to be transmitted, and flushing everything can slow it way down.
(Imagine 1000's of print statements, all flushing after they are done.
Silly, isn't it?)
|
|
Date |
User |
Action |
Args |
2007-08-23 13:59:35 | admin | link | issue526382 messages |
2007-08-23 13:59:35 | admin | create | |
|