25 May
2001
25 May
'01
4:59 a.m.
On Fri, May 25, 2001 at 10:23:10AM +0200, M.-A. Lemburg wrote:
Greg Ewing wrote:
"M.-A. Lemburg"
: BTW, wouldn't it suffice to add these methods to buffer objects ? Then you could write: buffer(ob).find('.').
Aren't buffer objects as they're currently implemented inherently dangerous?
Why should they be ?
The buffer object caches the pointer from getreadbuffer and friends. If the target object changes that pointer (internally), then the buffer object's value is stale. But that is a bug fix; it is independent of the discussion at hand. Cheers, -g -- Greg Stein, http://www.lyra.org/