[PATCH v2 0/4] qapi: Bye-bye Python 2

Markus Armbruster posted 4 patches 5 years, 8 months ago
Test docker-quick@centos7 passed
Test FreeBSD passed
Test docker-mingw@fedora passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200304155932.20452-1-armbru@redhat.com
Maintainers: Michael Roth <mdroth@linux.vnet.ibm.com>, Markus Armbruster <armbru@redhat.com>
scripts/qapi/commands.py       |  6 +--
scripts/qapi/common.py         |  6 +--
scripts/qapi/error.py          |  4 +-
scripts/qapi/events.py         |  4 +-
scripts/qapi/expr.py           |  3 +-
scripts/qapi/gen.py            | 27 ++++++-------
scripts/qapi/introspect.py     |  6 +--
scripts/qapi/parser.py         | 20 ++++-----
scripts/qapi/schema.py         | 74 +++++++++++++++++-----------------
scripts/qapi/source.py         |  4 +-
scripts/qapi/types.py          |  4 +-
scripts/qapi/visit.py          |  4 +-
tests/qapi-schema/test-qapi.py |  6 +--
13 files changed, 74 insertions(+), 94 deletions(-)
[PATCH v2 0/4] qapi: Bye-bye Python 2
Posted by Markus Armbruster 5 years, 8 months ago
v2:
* PATCH 3: Don't mess up indentation
* PATCH 4: Additionally clean up a pycodestyle-3 "E713 test for
  membership should be 'not in'"

Markus Armbruster (4):
  qapi: Inheriting from object is pointless with Python 3, drop
  qapi: Drop conditionals for Python 2
  qapi: Use super() now we have Python 3
  qapi: Brush off some (py)lint

 scripts/qapi/commands.py       |  6 +--
 scripts/qapi/common.py         |  6 +--
 scripts/qapi/error.py          |  4 +-
 scripts/qapi/events.py         |  4 +-
 scripts/qapi/expr.py           |  3 +-
 scripts/qapi/gen.py            | 27 ++++++-------
 scripts/qapi/introspect.py     |  6 +--
 scripts/qapi/parser.py         | 20 ++++-----
 scripts/qapi/schema.py         | 74 +++++++++++++++++-----------------
 scripts/qapi/source.py         |  4 +-
 scripts/qapi/types.py          |  4 +-
 scripts/qapi/visit.py          |  4 +-
 tests/qapi-schema/test-qapi.py |  6 +--
 13 files changed, 74 insertions(+), 94 deletions(-)

-- 
2.21.1