[Python-Dev] strop vs. string (original) (raw)
Greg Stein gstein@lyra.org
Thu, 24 May 2001 12:45:18 -0700
- Previous message: [Python-Dev] strop vs. string
- Next message: [Python-Dev] strop vs. string
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Previous message: [Python-Dev] strop vs. string
- Next message: [Python-Dev] strop vs. string
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]