qemu-e2k/python/qemu/qmp
John Snow 663aca79f9 python/qmp: remove Server.wait_closed() call for Python 3.12
This patch is a backport from
e03a3334b6

According to Guido in https://github.com/python/cpython/issues/104344 ,
this call was never meant to wait for the server to shut down - that is
handled synchronously - but instead, this waits for all connections to
close. Or, it would have, if it wasn't broken since it was introduced.

3.12 fixes the bug, which now causes a hang in our code. The fix is just
to remove the wait.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-id: 20231006195243.3131140-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
(cherry picked from commit acf873873a)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-10-19 14:52:59 +03:00
..
__init__.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
error.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
events.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
legacy.py python/qmp/legacy: remove open_with_socket() calls 2023-05-31 16:25:35 -04:00
message.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
models.py docs/interop: Convert qmp-spec.txt to rST 2023-05-22 10:21:01 +02:00
protocol.py python/qmp: remove Server.wait_closed() call for Python 3.12 2023-10-19 14:52:59 +03:00
py.typed python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
qmp_client.py docs/interop: Convert qmp-spec.txt to rST 2023-05-22 10:21:01 +02:00
qmp_shell.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
qmp_tui.py python: bump minimum requirements so they are compatible with 3.12 2023-07-07 12:49:22 +02:00
util.py python: update for mypy 0.950 2022-06-06 09:26:54 +02:00