[Python-Dev] pre-PEP: The Safe Buffer Interface
Greg Ewing
greg@cosc.canterbury.ac.nz
Mon, 29 Jul 2002 11:43:05 +1200 (NZST)
Thomas Heller <thomas.heller@ion-tof.com>:
> This PEP proposes an extension to the buffer interface called the
> 'safe buffer interface'.
I don't understand the need for this. The C-level buffer
interface is already safe as long as you use it properly --
which means using it to fetch the pointer each time it's
needed.
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz +--------------------------------------+