qapi: Clean up for Python 3.8
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | docs/about/build-platforms: Correct minimum supported Python versiondocs/ | +1 | 1 reply | |
| 2/3 | qapi: Eliminate OrderedDictscripts/ scripts/ tests/ | +8 | 1 reply | |
| 3/3 | qapi/introspect: Use @dataclass to simplifyscripts/ | +5 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Daniel P. Berrangé |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] qapi: Clean up for Python 3.8
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(-)
Signature · 1 line
2.48.1