[Python-Dev] pre-PEP: The Safe Buffer Interface
Wed, 31 Jul 2002 17:17:49 -0700 (PDT)
--- Greg Ewing <firstname.lastname@example.org> wrote:
> Scott Gilbert <email@example.com>:
> > getreadbufferproc bf_getreadbuffer;
> > getwritebufferproc bf_getwritebuffer;
> > acquirereadbufferproc bf_acquirereadbuffer;
> > acquirewritebufferproc bf_acquirewritebuffer;
> Is there really a need for both "get" and "acquire"
> methods? Surely if an object requires locking, it
> always requires locking, so why can't the "get"
> functions simply include the locking operation
> if they need it?
That is the proposal. The get methods are the legacy (non-fixed)
Do You Yahoo!?
Yahoo! Health - Feel better, live better