[Python-Dev] strop vs. string

Greg Stein gstein@lyra.org
Thu, 24 May 2001 12:45:18 -0700


On Thu, May 24, 2001 at 04:54:24PM +0200, M.-A. Lemburg wrote:
>...
> That's the point: you can wrap all those into a buffer object
> and then use the buffer object methods to manipulate them. In
> that sense, buffer objects provide an adaptor to the underlying
> object which implements the needed methods.

That would certainly be a valid solution. And at the C level, we could share
functions between PyBufferObject and PyStringObject.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/