[Python-3000] Immutable bytes -- looking for volunteer (original) (raw)

Brett Cannon brett at python.org
Wed Sep 26 07:31:34 CEST 2007


On 9/25/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:

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?

Never said it shouldn't. But I don't view immutable bytes as a container like mutable bytes.

-Brett



More information about the Python-3000 mailing list