[PATCH 0/3] qapi: Clean up for Python 3.8

Markus Armbruster posted 3 patches 1 month ago
docs/about/build-platforms.rst |  2 +-
scripts/qapi/introspect.py     | 12 +++++-------
scripts/qapi/parser.py         |  5 ++---
scripts/qapi/schema.py         | 11 +++++------
tests/qapi-schema/test-qapi.py | 11 +----------
5 files changed, 14 insertions(+), 27 deletions(-)
[PATCH 0/3] qapi: Clean up for Python 3.8
Posted by Markus Armbruster 1 month ago
The QAPI code generator code still contains a few minor oddities to
make it work with versions of Python we no longer support.  Bury them.

I'm leaving two things for later because I don't know what to do about
them:

* scripts/qapi/source.py has a "Replace with @dataclass in Python
  3.7+" comment.

* scripts/qapi/introspect.py has a "Python 3.6 does not offer
  TypedDict constructs" comment.

While there, fix a missing version bump in build dependency
documentation.

Markus Armbruster (3):
  docs/about/build-platforms: Correct minimum supported Python version
  qapi: Eliminate OrderedDict
  qapi/introspect: Use @dataclass to simplify

 docs/about/build-platforms.rst |  2 +-
 scripts/qapi/introspect.py     | 12 +++++-------
 scripts/qapi/parser.py         |  5 ++---
 scripts/qapi/schema.py         | 11 +++++------
 tests/qapi-schema/test-qapi.py | 11 +----------
 5 files changed, 14 insertions(+), 27 deletions(-)

-- 
2.48.1