[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH 2/2] scripts: qom-tree: add support of path as
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-trivial] [PATCH 2/2] scripts: qom-tree: add support of path as argument |
Date: |
Thu, 14 May 2015 13:47:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 14/05/2015 13:41, Martin Cerveny wrote:
> Hello.
>
> Ternary/if/else >= python 2.5 (I use the same coding as in
> scripts/qmp/qemu-ga-client).
Oh, that's old. Shows my knowledge of Python.
Then your patch is okay---thanks for enduring with me. :)
Paolo
> "import json" >= python 2.6 (scripts/qmp/qmp.py)
> "import argparse" >= python 2.7 (scripts/analyze-migration.py,
> scripts/vmstate-static-checker.py)
> "import optparse" < python 2.7 (deprecated, scripts/qmp/qemu-ga-client)
> ....
>
> Of course there is no problem to use traditional syntax.
> (My platform (centos5.10) has python2.4, I must also replace json imports:
> try:
> import json
> except ImportError:
> import simplejson as json
> )
>
> Which version of python is officialy minimum supported ?
>
> Thanks for explanation of python status.
>
> M.C>
[Qemu-trivial] [PATCH 1/2] scripts: qom-*: add network syntax, Martin Cerveny, 2015/05/13
Re: [Qemu-trivial] [Qemu-devel] [PATCH 1/2] scripts: qom-*: add network syntax, Daniel P. Berrange, 2015/05/19