[Python-3000] bug in i/o module buffering?
Jim Jewett
jimjjewett at gmail.com
Sun Oct 28 18:45:36 CET 2007
On 10/27/07, Bill Janssen <janssen at parc.com> 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
More information about the Python-3000
mailing list