From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffnpT-0004Kj-RC for qemu-devel@nongnu.org; Wed, 18 Jul 2018 10:53:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffnpT-0001Ib-54 for qemu-devel@nongnu.org; Wed, 18 Jul 2018 10:53:23 -0400 Date: Wed, 18 Jul 2018 11:53:12 -0300 From: Eduardo Habkost Message-ID: <20180718145312.GZ31657@localhost.localdomain> References: <20180717234015.22700-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20180717234015.22700-1-f4bug@amsat.org> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-3.1] qemu-iotests: Adapt to moved location of StringIO module in py3 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= Cc: Fam Zheng , Kevin Wolf , Max Reitz , qemu-devel@nongnu.org, qemu-block@nongnu.org, "Daniel P . Berrange" On Tue, Jul 17, 2018 at 08:40:15PM -0300, Philippe Mathieu-Daud=E9 wrote: [...] > - import StringIO > + try: > + from StringIO import StringIO > + except ImportError: > + from io import StringIO Why do we need this? Python 2.7 has io.StringIO. --=20 Eduardo