[issue10001] ~Py_buffer.obj field is undocumented, though not hidden

Antoine Pitrou report at bugs.python.org
Fri Oct 1 03:10:24 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

The recommended way is to use PyBuffer_FillInfo() (and then fill in any additional data if necessary), which will set the pointer and incref it itself.

I agree all this is a bit poorly documented.

----------
assignee:  -> docs at python
components: +Documentation -Interpreter Core
nosy: +docs at python, pitrou
stage:  -> needs patch
versions: +Python 2.7, Python 3.1

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


More information about the Python-bugs-list mailing list