[docs] [issue9158] PyArg_ParseTuple y* documentation is incorrect

Terrence Cole report at bugs.python.org
Mon Jul 5 21:29:47 CEST 2010

Terrence Cole <terrence at zettabytestorage.com> added the comment:

@Victor: "y* and z* result is a Py_buffer"

Correct, so why is z* documented as [Py_buffer] and y* documented as [Py_buffer*]?  If I make 'buffer' from your example a Py_buffer*, as documented, then python puts writes sizeof(Py_buffer) bytes into a random spot in memory.  Thus the attached patch.

Thanks for giving this a look, but I don't think this issue is closed -- the documentation for y* is still wrong.


Python tracker <report at bugs.python.org>

More information about the docs mailing list