Re: [Python-Dev] cStringIO buffer interface

2008-04-30 Thread Jean-Paul Calderone
On Wed, 30 Apr 2008 09:51:25 -0700, Guido van Rossum <[EMAIL PROTECTED]> wrote: On Wed, Apr 30, 2008 at 9:36 AM, Farshid Lashkari <[EMAIL PROTECTED]> wrote: I was just curious as to why cStringIO objects don't implement the buffer interface. cStringIO objects seem similar to string and array

Re: [Python-Dev] cStringIO buffer interface

2008-04-30 Thread Guido van Rossum
On Wed, Apr 30, 2008 at 9:36 AM, Farshid Lashkari <[EMAIL PROTECTED]> wrote: > I was just curious as to why cStringIO objects don't implement the > buffer interface. cStringIO objects seem similar to string and array > objects, and those support the buffer protocol. Is there a reason > against

[Python-Dev] cStringIO buffer interface

2008-04-30 Thread Farshid Lashkari
Hello, I'm not sure if this is the right place to ask, so I apologize ahead of time if it is. I was just curious as to why cStringIO objects don't implement the buffer interface. cStringIO objects seem similar to string and array objects, and those support the buffer protocol. Is there a reason