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

[Xen-devel] [PATCH for-next RFC 0/4] tools: Python 3 compatibility



This series makes tools build with Python 3.

Compile test only with 2.7 and 3.5 thus far, hence the RFC. This should be able
to give people some idea what sort of work is involved.

You will also need Andrew's "tools/xen-foreign: Update python scripts to be
Py3 compatible".

Wei.

Wei Liu (4):
  build/m4: make python_devel.m4 work with both python 2 and 3
  libxl: make python scripts work with python 2 and 3
  pygrub: convert python files with 2to3
  pygrub: make it build with python 3

 m4/python_devel.m4                 | 27 ++++++-----
 tools/configure                    | 34 ++++++++------
 tools/libxl/gentest.py             |  4 +-
 tools/libxl/gentypes.py            | 12 ++---
 tools/libxl/idl.py                 | 21 ++++-----
 tools/pygrub/src/ExtLinuxConf.py   | 16 +++----
 tools/pygrub/src/GrubConf.py       | 36 +++++++--------
 tools/pygrub/src/LiloConf.py       | 16 +++----
 tools/pygrub/src/fsimage/fsimage.c | 92 ++++++++++++++++++++++++++++++++++----
 9 files changed, 175 insertions(+), 83 deletions(-)

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.