[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

Antoine Pitrou report at bugs.python.org
Fri Jan 27 13:42:40 CET 2012


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

> With regards to exposing _testbuffer in the documentation of
> memoryview's hash support, perhaps it would be better to use a 1D
> bytes object + memoryview.cast() to get an officially supported
> multi-dimensional view of a region of memory?

By the way, I didn't point them, but there are other places in the
memoryview doc where _testbuffer is mentioned.

----------

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


More information about the Python-bugs-list mailing list