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? -jJ _______________________________________________ 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
