◐ Shell
clean mode source ↗

Message 157835 - Python tracker

> 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.