Message 152245 - Python tracker
> Of course this could also be exposed as a function, e.g.: > > /* stealing a reference to bytes */ > PyMemoryView_FromBytesAndInfo(PyObject *bytes, Py_buffer *info); I think we should minimize the number of reference-stealing functions. > So let's make the flags private. What do you prefer? I don't really mind, whatever you think is best :)