[Python-ideas] Add encoding attribute to bytes

Terry Reedy tjreedy at udel.edu
Tue Nov 10 21:10:13 CET 2009


Georg Brandl wrote:
> Terry Reedy schrieb:

>> Random bits? It seems to me that protocol means some sort of encoding, 
>> formatting, or structuring, some sort of agreed on interpretation, even 
>> if private.
> 
> Sure, but nothing you could map entirely onto a string of Unicode characters.

My idea is not limited to unicode encodings. But I see that one 
field/attribute can be either too many or too few, and hence not a 
universal solution.





More information about the Python-ideas mailing list