[Python-ideas] Fixing the Python 3 bytes constructor

Benjamin Peterson benjamin at python.org
Fri Mar 28 18:06:24 CET 2014


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.



More information about the Python-ideas mailing list