[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/4] qapi: Bye-bye Python 2
From: |
Markus Armbruster |
Subject: |
[PATCH v2 0/4] qapi: Bye-bye Python 2 |
Date: |
Wed, 4 Mar 2020 16:59:28 +0100 |
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