On Wed, Apr 30, 2008 at 9:36 AM, Farshid Lashkari <flashk at gmail.com> 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 allowing cStringIO to support at least the read buffer > interface, or is just that nobody has considered it until now? Well, for one, it would mean you could no longer exchange a StringIO instance for a cStringIO instance. Also, what's the compelling use case you're thinking of? -- --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4