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

2018-10-11 Thread Kevin Wolf
Am 10.10.2018 um 23:31 hat Philippe Mathieu-Daudé geschrieben: > 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

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

2018-10-10 Thread Philippe Mathieu-Daudé
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 Fedora Docker image, which uses Python3 since 356dc290f: $ make docke