Author lopgok
Recipients benjamin.peterson, georg.brandl, lopgok
Date 2008-12-07.15:48:59
SpamBayes Score 0.000562533
Marked as misclassified No
Message-id <>
I don't consider sys.stdout.buffer.write(b'abc')
to be an acceptable solution. There are many programs that need
to produce binary output with standard output. Consider uudecode
and similar programs.

There needs to be a standard, portable, documented way to put stdout
into binary mode in order to write binary output. For example,
all the flavors of the print command need to be able to send binary
data to standard output.

I don't have a problem changing open statements to support binary
file i/o, but I do have a problem changing every print or write statement
in order to support binary file i/o.
Date User Action Args
2008-12-07 15:49:01lopgoksetrecipients: + lopgok, georg.brandl, benjamin.peterson
2008-12-07 15:49:01lopgoksetmessageid: <>
2008-12-07 15:49:00lopgoklinkissue4571 messages
2008-12-07 15:48:59lopgokcreate