Re: [Qemu-devel] [Qemu-block] [PATCH v3] python: Use io.StringIO

2018-10-11 Thread Eduardo Habkost
On Thu, Oct 11, 2018 at 04:56:04PM +0200, Kevin Wolf wrote: > Am 11.10.2018 um 16:01 hat Markus Armbruster geschrieben: [...] > > I think we need to invest more resources in Python 2/3 compatiblity, or > > else we'll miss our hard deadline of January 1, 2020. > > Did we decide until when we want t

Re: [Qemu-devel] [Qemu-block] [PATCH v3] python: Use io.StringIO

2018-10-11 Thread Kevin Wolf
Am 11.10.2018 um 16:01 hat Markus Armbruster geschrieben: > Paolo Bonzini writes: > > > On 11/10/2018 13:33, Kevin Wolf wrote: > >> 045 1s ...[13:31:47] [13:31:47] [failed, exit status 1] - output > >> mismatch (see 045.out.bad) > >> --- /home/kwolf/source/qemu/tests/qemu-iotests/045.out

Re: [Qemu-devel] [Qemu-block] [PATCH v3] python: Use io.StringIO

2018-10-11 Thread Philippe Mathieu-Daudé
On 11/10/2018 16:01, Markus Armbruster wrote: > Paolo Bonzini writes: > >> On 11/10/2018 13:33, Kevin Wolf wrote: >>> 045 1s ...[13:31:47] [13:31:47] [failed, exit status 1] - output >>> mismatch (see 045.out.bad) >>> --- /home/kwolf/source/qemu/tests/qemu-iotests/045.out 2017-01-24 >>

Re: [Qemu-devel] [Qemu-block] [PATCH v3] python: Use io.StringIO

2018-10-11 Thread Markus Armbruster
Paolo Bonzini writes: > On 11/10/2018 13:33, Kevin Wolf wrote: >> 045 1s ...[13:31:47] [13:31:47] [failed, exit status 1] - output >> mismatch (see 045.out.bad) >> --- /home/kwolf/source/qemu/tests/qemu-iotests/045.out 2017-01-24 >> 14:49:48.0 +0100 >> +++ /home/kwolf/source/qe

Re: [Qemu-devel] [Qemu-block] [PATCH v3] python: Use io.StringIO

2018-10-11 Thread Paolo Bonzini
On 11/10/2018 13:33, Kevin Wolf wrote: > 045 1s ...[13:31:47] [13:31:47] [failed, exit status 1] - output > mismatch (see 045.out.bad) > --- /home/kwolf/source/qemu/tests/qemu-iotests/045.out 2017-01-24 > 14:49:48.0 +0100 > +++ /home/kwolf/source/qemu/tests/qemu-iotests/045.out.b

Re: [Qemu-devel] [Qemu-block] [PATCH v3] python: Use io.StringIO

2018-10-10 Thread Paolo Bonzini
On 10/10/2018 23:31, Philippe Mathieu-Daudé wrote: > Both Python 2.7 and 3 support the same io.StringIO to > handle unicode strings. > > Use the common form to use indistinctly Python 2.7 or 3. > > http://python-future.org/compatible_idioms.html#stringio > > This fixes running tests on the Fedor