[Python-3000] New io system and binary data (original) (raw)
Guido van Rossum guido at python.org
Thu Sep 20 19:08:03 CEST 2007
- Previous message: [Python-3000] Extension: mpf for GNU MP floating point
- Next message: [Python-3000] New io system and binary data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 9/20/07, Bill Janssen <janssen at parc.com> wrote:
Greg Ewing writes: > Christian Heimes writes: > > I recommend that the problem and fix gets documented. Maybe stdin, > > stdout and stderr should get a method that disables the implicit > > conversion like setMode("b") / setMode("t"). > > Or maybe another set of objects called stdbin, stdbout, stdberr.
Nice idea, but it would have been a tad more true to the origin of the names if "stdin", "stderr", and "stdout" were binary (as the re-use of those fine names automatically implies to anyone who knows what they're doing), and "textin", "textout", and "texterr" were the bogus VMS/Windows corrupted versions of the dandy UNIX originals.
Oh for chrissakes. Can we stop the bikeshedding on this topic already? Several people have already agreed that sys.stdin.buffer is good enough. Please stop while you're ahead.
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-3000] Extension: mpf for GNU MP floating point
- Next message: [Python-3000] New io system and binary data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]