From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ysrcp-0001VW-BP for qemu-devel@nongnu.org; Thu, 14 May 2015 07:48:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ysrco-0000fX-Ah for qemu-devel@nongnu.org; Thu, 14 May 2015 07:48:27 -0400 Message-ID: <55548B65.2030204@redhat.com> Date: Thu, 14 May 2015 13:47:49 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1431519294-8873-1-git-send-email-M.Cerveny@computer.org> <1431519294-8873-3-git-send-email-M.Cerveny@computer.org> <55547221.4030109@redhat.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2] scripts: qom-tree: add support of path as argument List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Martin Cerveny Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org 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>