[Python-3000] Immutable bytes -- looking for volunteer

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Sep 26 03:49:03 CEST 2007


Brett Cannon wrote:
> Return a byte.  If you want a mutable length-1 thing you should have
> to do a length 1 slice.  Otherwise its an index operation and you want
> what is stored at the index, which is an immutable byte.

Why shouldn't this argument apply to immutable bytes objects as
well? Or should it?

--
Greg


More information about the Python-3000 mailing list