[Python-Dev] Extended buffer PEP
oliphant at ee.byu.edu
Wed Apr 4 01:00:12 CEST 2007
Here is my "final" draft of the extended buffer interface PEP.
For those who have been following the discussion, I eliminated the
releaser object and the lock-buffer function. I decided that there is
enough to explain with the new striding and sub-offsets without the
added confusion of releasing buffers, especially when it is not clear
what is to be gained by such complexity except a few saved lines of code.
The striding and sub-offsets, however, allow extension module writers to
write code (say video and image processing code or scientific computing
code or data-base processing code) that works on any object exposing the
buffer interface. I think this will be of great benefit and so is worth
This will take some work to get implemented for Python 3k. I could use
some help with this in order to speed up the process. I'm working right
now on the extensions to the struct module until the rest is approved.
Thank you for any and all comments:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Python-Dev