[Python-Dev] Incorrect documentation of the raw_input built-in function

2008-01-24 Thread Mike Kent
Recently I was trying to debug an old python program who's maintenance I inherited. I was using the quick-and-dirty method of putting some 'print >>sys.stderr' statements in the code, and then running the command with '2>filename' appended to the end of the command line. Imagine my surprise to se

Re: [Python-Dev] Incorrect documentation of the raw_input built-in function

2008-01-24 Thread Mike Kent
pobox.com> writes: > > > Isaac> Have people actually verified that the prompt is really sent to > Isaac> stderr right now by using 2>/dev/null to attempt to suppress it? > > Good point. On my machine at work (Solaris), Python 2.4 seems to send its > raw_input prompt to stdout, not st

Re: [Python-Dev] Incorrect documentation of the raw_input built-in function

2008-01-24 Thread Mike Kent
Guido van Rossum python.org> writes: > > > It's entirely likely that the difference in what I am seeing and what you > > guys > > are seeing is caused by my not having GNU readline installed. Nevertheless, > > the behavior without it seems wrong, and is certainly different from the > > documenta