Antoine Pitrou <pit...@free.fr> added the comment: > 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 :) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10181> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com