[Python-3000] Immutable bytes -- looking for volunteer (original) (raw)
Brett Cannon brett at python.org
Wed Sep 26 07:31:34 CEST 2007
- Previous message: [Python-3000] Immutable bytes -- looking for volunteer
- Next message: [Python-3000] Immutable bytes -- looking for volunteer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-3000] Immutable bytes -- looking for volunteer
- Next message: [Python-3000] Immutable bytes -- looking for volunteer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]