[Python-ideas] iterating over bytes as byte strings (was Fixing the Python 3 bytes constructor)

random832 at fastmail.us random832 at fastmail.us
Fri Mar 28 19:31:01 CET 2014


On Fri, Mar 28, 2014, at 13:54, Benjamin Peterson wrote:
> Guido van Rossum <guido at ...> writes:
> 
> > Support.
> 
> Excellent. I think the means the only thing left to do is bikeshed the
> name.
> iterbytes() maybe? That's what it's called in six.

Should this be purely an iteration function, or something that can also
index and slice [into objects that can subsequently be iterated or
indexed]? What does six do about that?


More information about the Python-ideas mailing list