qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/5] tracetool: Python 2.4 compatibility fixes
@ 2012-05-01 15:40 Stefan Hajnoczi
  2012-05-01 15:40 ` [Qemu-devel] [PATCH v3 1/5] tracetool: use Python 2.4-compatible exception handling syntax Stefan Hajnoczi
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2012-05-01 15:40 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Anthony Liguori, Stefan Hajnoczi, Erik Rull,
	Andreas Faerber, Lluís Vilanova

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]

v3:
 * Fix missing sys.exit() in configure check [Lluís]

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
  tracetool: avoid pkgutil.iter_modules() Python 2.7 function
  configure: check for supported Python 2.x versions

 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-01 16:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-01 15:40 [Qemu-devel] [PATCH v3 0/5] tracetool: Python 2.4 compatibility fixes Stefan Hajnoczi
2012-05-01 15:40 ` [Qemu-devel] [PATCH v3 1/5] tracetool: use Python 2.4-compatible exception handling syntax Stefan Hajnoczi
2012-05-01 15:40 ` [Qemu-devel] [PATCH v3 2/5] tracetool: use Python 2.4-compatible __import__() arguments Stefan Hajnoczi
2012-05-01 15:40 ` [Qemu-devel] [PATCH v3 3/5] tracetool: avoid str.rpartition() Python 2.5 function Stefan Hajnoczi
2012-05-01 15:40 ` [Qemu-devel] [PATCH v3 4/5] tracetool: avoid pkgutil.iter_modules() Python 2.7 function Stefan Hajnoczi
2012-05-01 15:40 ` [Qemu-devel] [PATCH v3 5/5] configure: check for supported Python 2.x versions Stefan Hajnoczi
2012-05-01 16:00   ` Lluís Vilanova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).