[Python-Dev] PEP 296 - The Buffer Problem

Greg Ewing greg@cosc.canterbury.ac.nz
Wed, 24 Jul 2002 10:29:22 +1200 (NZST)


Scott Gilbert <xscottg@yahoo.com>:

> The inner-thing _could_ be a Python object (and Guido suggested that
> maybe it should be), but that's an implementation detail.

In that case, unless there's some reason for it
*not* to be a Python object, you might as well
make it one and take advantage of all the
Python refcount machinery.

<plug>
If you use Pyrex for the implementation, making
Python objects will be dead easy!
</plug>

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	   +--------------------------------------+