Jim Jewett wrote:
> On 10/27/07, Bill Janssen <[EMAIL PROTECTED]> wrote:
> 
> > > >   File "/local/python/3k/src/Lib/io.py", line 455, in read
> > > >     del b[n:]
> > > > TypeError: 'slice' object does not support item deletion
> 
> >         b = bytes(n.__index__())
> 
> Isn't bytes the *im*mutable bytestring, so that you would need a
> buffer (rather than a bytes) if you plan to clear it out?

I think when this code was written, "bytes" was mutable (that's why it
couldn't be a key in a dict).  If I understand the grand plan
correctly, "bytes" will become "buffer" (mutable), and "str8" will
become "bytes" (immutable).

Bill
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to