qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] tracetool: use Python 2.5-compatible exception


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] tracetool: use Python 2.5-compatible exception handling syntax
Date: Fri, 27 Apr 2012 13:15:14 +0100

On Wed, Apr 25, 2012 at 4:29 PM, Stefan Hajnoczi <address@hidden> wrote:
> On Wed, Apr 25, 2012 at 2:35 PM, Andreas Färber <address@hidden> wrote:
>> Am 25.04.2012 11:42, schrieb Stefan Hajnoczi:
>>> The newer "except <exception-type> as <exception>:" syntax is not
>>> supported by Python 2.5, we need to use "except <exception-type>,
>>> <exception>:".
>>>
>>> Tested all trace backends with Python 2.5.6.
>>>
>>> Reported-by: Andreas Färber <address@hidden>
>>> Signed-off-by: Stefan Hajnoczi <address@hidden>
>>
>> Lightly
>>
>> Tested-by: Andreas Färber <address@hidden>
>>
>> Works with:
>> 2.5.1 (Mac OS X v10.5.8),
>> 2.6.1 (Mac OS X v10.6.8) and
>> 2.6.4 (OpenIndiana oi_151a).
>>
>> Thanks a lot!
>>
>> However, it still breaks with different errors on Python 2.3.3 and 2.4.6
>> (Solaris 10 U9).
>
> Solaris releases tend to be supported for a very long time.  I don't
> think we should restrict ourselves to glib, python, and other
> dependencies from the Solaris 10 era (actually Solaris 9 is still
> supported too!).
>
> We need to draw the line somewhere.  Python 2.5 was released on
> September 19, 2006.  It's available for Mac ppc and Solaris.

I just noticed that RHEL 5 ships Python 2.4, which means a lot of
RHEL/CentOS 5 hosts that are still out there will also break.

Let's bring back the requirement to Python 2.4.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]