[issue21778] PyBuffer_FillInfo() from 3.3

Armin Rigo report at bugs.python.org
Mon Jun 16 17:20:24 CEST 2014


Armin Rigo added the comment:

Ah! Thanks.  I systematically missed the "flags" arguments passed in the getbufferproc function.

(I thought I had to tell PyBuffer_FillInfo() what kind of format we actually provide, but it seems that the interface is the other way around.  I don't see how I would implement a getbufferproc that forces a specific format, but I don't need that, so it's fine.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21778>
_______________________________________


More information about the Python-bugs-list mailing list