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

Nick Coghlan ncoghlan at gmail.com
Thu Jun 2 07:37:47 CEST 2011


On Thu, Jun 2, 2011 at 3:58 AM, Ethan Furman <ethan at stoneleaf.us> wrote:
> A byte stream with multiple encodings?  Now *that* seems wrong!

Unicode encodings are just one serialisation format specific to text
data. bytes objects may contain *any* serialisation format (e.g. zip
archives, Python pickles, Python marshal files, packed binary data,
innumerable wire protocols both standard and proprietary).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-ideas mailing list