]> git.ipfire.org Git - thirdparty/qemu.git/commit
python: backport 'drop Python3.6 workarounds'
authorJohn Snow <jsnow@redhat.com>
Tue, 6 Jun 2023 17:19:11 +0000 (13:19 -0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 16 Sep 2025 20:34:00 +0000 (23:34 +0300)
commitf246e6efc7684c8b3902b933d91594c62d2e361b
tree044a8d170e857a2d90525b6b6f9bb0c15018ced6
parente2826959a8916abd460928866e6c6973bff7e926
python: backport 'drop Python3.6 workarounds'

Now that the minimum version is 3.7, drop some of the 3.6-specific hacks
we've been carrying. A single remaining compatibility hack concerning
3.6's lack of @asynccontextmanager is addressed in the following commit.

Signed-off-by: John Snow <jsnow@redhat.com>
cherry picked from commit python-qemu-qmp@3e8e34e594cfc6b707e6f67959166acde4b421b8
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
(cherry picked from commit f9d2e0a3bd7ba2a693a892881f91cf53fa90cc71)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
python/qemu/qmp/protocol.py
python/qemu/qmp/qmp_tui.py
python/qemu/qmp/util.py
python/tests/protocol.py