Re: [Libguestfs] [libnbd PATCH 5/5] python: Accept all buffer-like objects in aio_p{read, write}

2022-06-04 Thread Eric Blake
On Sat, Jun 04, 2022 at 11:16:10AM +0100, Richard W.M. Jones wrote: > On Fri, Jun 03, 2022 at 05:26:35PM -0500, Eric Blake wrote: > > After the work in the previous patch, this one is a trivial feature > > addition ;) Now you can do h.aio_pwrite(b'123', 0). > > --- > > python/handle.c | 5 +

Re: [Libguestfs] [libnbd PATCH 5/5] python: Accept all buffer-like objects in aio_p{read, write}

2022-06-04 Thread Richard W.M. Jones
On Fri, Jun 03, 2022 at 05:26:35PM -0500, Eric Blake wrote: > After the work in the previous patch, this one is a trivial feature > addition ;) Now you can do h.aio_pwrite(b'123', 0). > --- > python/handle.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/python/handle.c

Re: [Libguestfs] [libnbd PATCH 5/5] python: Accept all buffer-like objects in aio_p{read, write}

2022-06-04 Thread Richard W.M. Jones
On Fri, Jun 03, 2022 at 05:26:35PM -0500, Eric Blake wrote: > After the work in the previous patch, this one is a trivial feature > addition ;) Now you can do h.aio_pwrite(b'123', 0). > --- > python/handle.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/python/handle.c

[Libguestfs] [libnbd PATCH 5/5] python: Accept all buffer-like objects in aio_p{read, write}

2022-06-03 Thread Eric Blake
After the work in the previous patch, this one is a trivial feature addition ;) Now you can do h.aio_pwrite(b'123', 0). --- python/handle.c | 5 + 1 file changed, 5 insertions(+) diff --git a/python/handle.c b/python/handle.c index 7f67159..8575097 100644 --- a/python/handle.c +++