[Python-ideas] a new bytestring type?

Nick Coghlan ncoghlan at gmail.com
Mon Jan 6 15:50:40 CET 2014


On 6 Jan 2014 21:58, "Mark Lawrence" <breamoreboy at yahoo.co.uk> wrote:
>
> 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?

Yep, parallel discussions.

Cheers,
Nick.

>
> --
> My fellow Pythonistas, ask not what our language can do for you, ask what
you can do for our language.
>
> Mark Lawrence
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140107/144c0870/attachment-0001.html>


More information about the Python-ideas mailing list