[libvirt] [PATCH v2 0/8] Introduce partial Python 3 support

Andrea Bolognani abologna at redhat.com
Thu Mar 15 16:11:02 UTC 2018


This series takes care of all the trivial stuff, paving the way
for someone with good Python knowledge to jump in and finish
porting.

Changes since [v1]:

  * the build system no longer needs tweaks;
  * patches are organized by type of change for easier review.

[v1] https://www.redhat.com/archives/libvir-list/2018-March/msg00687.html

Andrea Bolognani (8):
  python3: Use the print() function
  python3: Use the repr() function
  python3: Use the 'in' keyword
  python3: Remove uses of string.*() functions
  python3: Call list() explicitly as needed
  python3: Replace keys() + sort() with sorted()
  python3: Open files in text instead of binary mode
  python3: Fix sort function

 docs/apibuild.py                   | 372 ++++++++++++++++++-------------------
 src/esx/esx_vi_generator.py        |  27 ++-
 src/hyperv/hyperv_wmi_generator.py |  17 +-
 3 files changed, 200 insertions(+), 216 deletions(-)

-- 
2.14.3




More information about the libvir-list mailing list