[Python-ideas] a new bytestring type?

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Jan 6 14:57:55 CET 2014


On 06/01/2014 08:28, Geert Jansen wrote:
> On Sun, Jan 5, 2014 at 8:33 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
>> As anyone who has worked with Python 3 and low-level protocols knows, Python
>> 3 has no 'bytestring' type.  It has immutable and mutable versions of arrays
>> of integers, otherwise known as 'bytes' and 'bytearray'.
>>
>> How many would be interested in having a 'bytestring'?
>
> I'm not missing a new type, but I am missing the format method on the
> binary types.
>
> Regards,
> Geert

Is this what the new PEP 460 is aimed at or am I again barking in the 
wrong forest?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence



More information about the Python-ideas mailing list