qapi: Eliminate OrderedDict
authorMarkus Armbruster <armbru@redhat.com>
Thu, 27 Feb 2025 08:07:56 +0000 (09:07 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 6 Mar 2025 09:09:22 +0000 (10:09 +0100)
commit5fbc8126acaf07a0294f8f94f4c244c3c5b62d5d
treea33f353c8ae25871313e39ab670cc9693b61e4b9
parent87c8b4fc3c1c89ec52540bfb74f9b0518f247323
qapi: Eliminate OrderedDict

We use OrderedDict to ensure dictionary order is insertion order.
Plain dict does that since Python 3.6, but it wasn't guaranteed until
3.7.  Since we have 3.7 now, replace OrderedDict by dict.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20250227080757.3978333-3-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
scripts/qapi/parser.py
scripts/qapi/schema.py
tests/qapi-schema/test-qapi.py