[Python-ideas] Fixing the Python 3 bytes constructor

Guido van Rossum guido at python.org
Fri Mar 28 18:17:34 CET 2014


On Fri, Mar 28, 2014 at 10:06 AM, Benjamin Peterson <benjamin at python.org>wrote:

> Antoine Pitrou <solipsis at ...> writes:
> > I don't like it, but I also don't think it's enough of a nuisance to be
> > deprecated.
> > (the indexing behaviour of bytes objects is far more annoying)
>
> I agree. We would add a method that iterates over single bytes as bytes
> objects instead of integers.
>

Now that's making sense.

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140328/89438e19/attachment.html>


More information about the Python-ideas mailing list