[Libguestfs] [PATCH] python: Support buffer protocol for pread() result

Richard W.M. Jones rjones at redhat.com
Sat Nov 23 13:21:33 UTC 2019


On Sat, Nov 23, 2019 at 03:27:54AM +0200, Nir Soffer wrote:
> pread() can return now any object supporting the buffer protocol[1] such
> as bytearray, bytes, or memoryview.
> 
> [1] https://docs.python.org/3/c-api/buffer.html

ACK, I have pushed this.

> ---
> 
> When the new python tests will be in master we can add some automated tests.

Don't worry about updating the tests, I've already done it
and will post a renewed series testing this feature shortly.

Thanks,

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list