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

Juergen Hermann Juergen Hermann" <j.her@t-online.de
Sat, 29 Jun 2002 16:20:57 +0200


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.

Ciao, J=FCrgen