From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecYXK-0000V6-Du for qemu-devel@nongnu.org; Fri, 19 Jan 2018 10:24:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecYXJ-0000hR-If for qemu-devel@nongnu.org; Fri, 19 Jan 2018 10:24:58 -0500 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:38205) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ecYXJ-0000h8-EG for qemu-devel@nongnu.org; Fri, 19 Jan 2018 10:24:57 -0500 Received: by mail-oi0-x234.google.com with SMTP id m65so1347132oig.5 for ; Fri, 19 Jan 2018 07:24:57 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20180117144756.31049-1-marcandre.lureau@redhat.com> <595f00e6-d5ad-b7c6-29be-7c6e135f9d12@redhat.com> From: Peter Maydell Date: Fri, 19 Jan 2018 15:24:36 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PULL 0/1] Dump patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marc-Andre Lureau Cc: Eric Blake , =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= , QEMU Developers On 19 January 2018 at 14:35, Marc-Andre Lureau wrote: > I have not found how to translate a python 'buffer' to a bytes string > in 2.6. A local python expert suggests that "bytes(buffer)" should work. thanks -- PMM