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: Wed, 25 Apr 2012 16:29:04 +0100

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.

Here is the latest blastwave Python package which supposedly works for
Solaris 8+ on i386:

http://www.blastwave.org/jir/pkgcontents.ftd?software=python&style=brief&state=5&arch=i386

Stefan



reply via email to

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