qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 0/5] tracetool: Python 2.4 compatibility fixes


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH v2 0/5] tracetool: Python 2.4 compatibility fixes
Date: Mon, 30 Apr 2012 12:06:27 +0100

The new Python tracetool implementation works great but does not run on older
Python installations.  This series takes us back to the happy days of Python
2.4, which was released in 2004.

As a result tracetool should now work again on Mac OS X v10.5.8, OpenIndiana
oi_151a, Solaris 10 U9, and Red Hat Enterprise Linux 5.

I added a new patch which should make --list-backends work on Python <2.7 now.

Thanks for everyone's help testing on these platforms.

v2:
 * Use nicer version check Python expression [LluĂ­s]
 * Avoid pkgutil.iter_modules() [Andreas]

Stefan Hajnoczi (5):
  tracetool: use Python 2.4-compatible exception handling syntax
  tracetool: use Python 2.4-compatible __import__() arguments
  tracetool: avoid str.rpartition() Python 2.5 function
  configure: check for supported Python 2.x versions
  tracetool: avoid pkgutil.iter_modules() Python 2.7 function

 configure                             |    7 ++++---
 scripts/tracetool.py                  |    4 ++--
 scripts/tracetool/__init__.py         |   19 +++++++++++--------
 scripts/tracetool/backend/__init__.py |    8 ++++++--
 scripts/tracetool/format/__init__.py  |    8 ++++++--
 5 files changed, 29 insertions(+), 17 deletions(-)

-- 
1.7.10




reply via email to

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