[Python-3000] New io system and binary data (original) (raw)

Bill Janssen janssen at parc.com
Thu Sep 20 17:57:59 CEST 2007


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.

Bill



More information about the Python-3000 mailing list