[Python-ideas] Adding 'bytes' as alias for 'latin_1' codec.

Terry Reedy tjreedy at udel.edu
Thu Jun 2 00:15:47 CEST 2011


On 6/1/2011 1:58 PM, Ethan Furman wrote:

> A byte stream with multiple encodings? Now *that* seems wrong!

No, it is standard in many protocols. Ascii coded characters and numbers 
are mixed with binary coded numbers and binary blobs with their own 
codings. Bytes are not text, so don't think in terms of just text encodings.

-- 
Terry Jan Reedy




More information about the Python-ideas mailing list