[Python-Dev] Incorrect documentation of the raw_input built-in function (original) (raw)

skip at pobox.com skip at pobox.com
Thu Jan 24 17:51:15 CET 2008


Mike> 2. Is this really the hard-coded behavior we want?  I don't think
Mike>    my use-case is that odd; in fact, what I find very odd is that
Mike>    the prompt output is send to stderr.  I mean, I'm printing the
Mike>    prompt for a question, not some error message. Can there not at
Mike>    least be an optional parameter to indicate that you want the
Mike>    output sent to stdout rather than stderr?

I can think of situations where you don't want the output to go to stdout either (suppose it's the regular output of the file you want to save to a file). Having a choice seems the best route.



More information about the Python-Dev mailing list