Guido van Rossum wrote: > All sorts of things are different when reading stdin vs. opening a > filename. e.g. stdin may be a pipe.
Which suggests that if anything is going to try to guess the encoding, it would be better for it to start reading from the actual stream you're going to use and buffer the result, rather than rely on being able to open it separately. -- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiem! | Christchurch, New Zealand | (I'm not a morning person.) | [EMAIL PROTECTED] +--------------------------------------+ _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
