A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-January/107240.html below:

[Python-Dev] Omit Py_buffer struct from Stable ABI for Python 3.2?

[Python-Dev] Omit Py_buffer struct from Stable ABI for Python 3.2? [Python-Dev] Omit Py_buffer struct from Stable ABI for Python 3.2?Stefan Behnel stefan_ml at behnel.de
Wed Jan 5 19:21:15 CET 2011
Mark Dickinson, 05.01.2011 13:55:
> On Wed, Jan 5, 2011 at 12:31 PM, Nick Coghlan wrote:
>> Currently [1], the implementation and the documentation for PEP 3118's
>> Py_buffer struct don't line up (there's an extra field in the
>> implementation that the PEP doesn't mention).
>
> I think there are actually two such fields:  smalltable and obj.
>
> The need for obj is a little ugly:  as far as I can tell, it's
> meaningless for a 3rd-party object that wants to export buffers---it's
> only really used by the memoryview object and by internal Python
> types.

Not at all. It's the reason why some of the buffer API functions could be 
changed to a simpler signature after earlier versions of the PEP had been 
written.

Stefan

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4