[Python-Dev] pre-PEP: The Safe Buffer Interface
Thomas Heller
thomas.heller@ion-tof.com
Wed, 31 Jul 2002 17:49:20 +0200
> > Could also just have one acquire function that indicates whether it
> > is read-write or read-only via a return parameter.
>
> That loses the (weak) symmetry with the existing API.
>
There's nothing a client expecting a read/write pointer could
do with a read only pointer IMO.
> > Is write-only ever useful?
>
> No, write implies read.
Should it be named getfixedreadwritebuffer then?
Thomas