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

Josh Triplett report at bugs.python.org
Mon Apr 9 10:15:57 CEST 2012


Josh Triplett <josh at joshtriplett.org> added the comment:

> I currently use Python 2.7, and I'd like to make use of memoryview.  Specifically, I work on BITS (http://biosbits.org/), which runs Python in ring 0 as part of GRUB, and I'd like to use memoryview to give Python access to data in physical memory.  I ran into several of the problems documented here when trying to do so.  I'd really love to see a backport of this fixed version into 2.7.

More specifically, the primary functionality that I'd like to use exists in 3.3 as PyMemoryView_FromMemory.  I've tried to approximate that function using the available API in 2.7, but that led me here.

----------

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


More information about the Python-bugs-list mailing list