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

Andrea Bolognani posted 8 patches 6 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180315161110.17925-1-abologna@redhat.com
Test syntax-check passed
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(-)
[libvirt] [PATCH v2 0/8] Introduce partial Python 3 support
Posted by Andrea Bolognani 6 years, 1 month ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list