[Python-Dev] Silent Deprecation Candidate -- buffer()

Michael Hudson mwh@python.net
29 Jun 2002 16:07:46 +0100


j.her@t-online.de (Juergen Hermann) writes:

> On Sat, 29 Jun 2002 13:02:13 +0200, Fredrik Lundh wrote:
> 
> >does anyone have any real-life use cases?  I've never been
> >able to use it for anything, and cannot recall ever seeing it
> >being used by anyone else...
> 
> We use it for BLOB support in our Python binding to our C++ binding to
> Oracle OCI. Oracle allows loading of limited ranges out of BLOBs, and
> the buffer interface perfectly fits into that.

But that's from C, right?  I don't think anyone's suggested removing
the C-level buffer interface.

Cheers,
M.

-- 
  I think perhaps we should have electoral collages and construct
  our representatives entirely of little bits of cloth and papier 
  mache.
                  -- Owen Dunn, ucam.chat, from his review of the year