[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/4] qapi: Use Python 2.6 "except E as ..." synt
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 1/4] qapi: Use Python 2.6 "except E as ..." syntax |
Date: |
Thu, 17 Dec 2015 19:35:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Eric Blake <address@hidden> writes:
> On 12/17/2015 03:06 AM, Markus Armbruster wrote:
>> PEP 8 calls for it, because it's forward compatibile with Python 3.
>
> And possible as a cleanup only because we require 2.6 as a minimum since
> fec21036 (your subject line hints at it, even if not stating it outright).
What about:
Supported since Python 2.6, which we require (commit fec2103).
>>
>> Signed-off-by: Markus Armbruster <address@hidden>
>> ---
>> scripts/qapi.py | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> Reviewed-by: Eric Blake <address@hidden>
Thanks!
[Qemu-devel] [PATCH 4/4] tests: Use Python 2.6 "except E as ..." syntax, Markus Armbruster, 2015/12/17
Re: [Qemu-devel] [PATCH 0/4] Use Python 2.6 "except E as ..." syntax, Stefan Hajnoczi, 2015/12/18