Alexander Belopolsky wrote:
> /* info->obj is either NULL or a borrowed reference. This
> reference should not be decremented in PyBuffer_Release(). */
The semantics of PyMemoryView_FromBuffer() are problematic. This function
is the odd one in memoryobject.c since it's the only function that
On 29/08/2012 22:28, Alexander Belopolsky wrote:
I am trying to reconcile this section in 3.3 documentation:
"""
void *obj
A new reference to the exporting object. The reference is owned by the
consumer and automatically decremented and set to NULL by
PyBuffer_Release().
with the following c
I am trying to reconcile this section in 3.3 documentation:
"""
void *obj
A new reference to the exporting object. The reference is owned by the
consumer and automatically decremented and set to NULL by
PyBuffer_Release(). The field is the equivalent of the return value of
any standard C-API func