[Python-Dev] Deprecate the buffer object?
nas-python at python.ca
Tue Oct 28 17:55:20 EST 2003
On Tue, Oct 28, 2003 at 11:23:18PM +0100, Alex Martelli wrote:
> Is that about RW buffers specifically?
> Because I _have_ used R/O buffers in production code -- when I had
> a huge string already in memory, and needed various largish
> substrings of it at different but overlapping times, without
> paying the overhead to copy them as slicing would have done.
That's a useful thing to be able to do and the buffer object does it
in a safe way. I guess that's part of the reason why the buffer
object has managed to survive as long as it has.
More information about the Python-Dev