[docs] [issue33126] Some C buffer protocol APIs not documented

Antoine Pitrou report at bugs.python.org
Sat Mar 24 18:37:55 EDT 2018

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

Thanks.  The PyBuffer_ToContiguous() API is weird: why pass `len` if it cannot be anything other than `src->len`?
Also, it would be nice to explain whether the actual buffer data is copied around (with a memory allocation?) or if it's just the Py_buffer struct.


Python tracker <report at bugs.python.org>

More information about the docs mailing list