Python patches
The following changes since commit 4c41341af76cfc85b5a6c0f87de4838672ab9f89:
Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20201020'
into staging (2020-10-20 11:20:36 +0100)
are available in the Git repository at:
https://gitlab.com/jsnow/qemu.git tags/python-pull-request
for you to fetch changes up to 39cf73c3494045b4418c9c1db8e803640e2150dc:
python/qemu/qmp.py: Fix settimeout operation (2020-10-20 15:00:06 -0400)
----------------------------------------------------------------
Pull request V2 - Squashed small change in from Nir on 20/21.
----------------------------------------------------------------
John Snow (21):
MAINTAINERS: Add Python library stanza python/qemu: use isort to lay out imports python/machine.py: Fix monitor address typing python/machine.py: reorder __init__ python/machine.py: Don't modify state in _base_args() python/machine.py: Handle None events in events_wait python/machine.py: use qmp.command python/machine.py: Add _qmp access shim python/machine.py: fix _popen access
python/qemu: make 'args' style arguments immutable iotests.py: Adjust HMP kwargs typing
python/qemu: Add mypy type annotations python/qemu/console_socket.py: Correct type of recv() python/qemu/console_socket.py: fix typing of settimeout python/qemu/console_socket.py: Clarify type of drain_thread python/qemu/console_socket.py: Add type hint annotations python/qemu/console_socket.py: avoid encoding to/from string python/qemu/qmp.py: Preserve error context on re-raise
python: add mypy config
python/qemu/qmp.py: re-raise OSError when encountered python/qemu/qmp.py: Fix settimeout operation
MAINTAINERS | 9 +- python/mypy.ini | 4 + python/qemu/.isort.cfg | 7 + python/qemu/accel.py | 9 +- python/qemu/console_socket.py | 54 +++--- python/qemu/machine.py | 306 +++++++++++++++++++++------------- python/qemu/qmp.py | 89 ++++++---- python/qemu/qtest.py | 55 +++--- tests/qemu-iotests/iotests.py | 2 +- 9 files changed, 325 insertions(+), 210 deletions(-) create mode 100644 python/mypy.ini create mode 100644 python/qemu/.isort.cfg
Signature · 1 line
2.26.2
Peter Maydell
AppliedQuoted 8 lines · John Snow
The following changes since commit
4c41341af76cfc85b5a6c0f87de4838672ab9f89:Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20201020'
into staging (2020-10-20 11:20:36 +0100)are available in the Git repository at:
Quoted 9 lines
https://gitlab.com/jsnow/qemu.git tags/python-pull-request
for you to fetch changes up to
39cf73c3494045b4418c9c1db8e803640e2150dc:python/qemu/qmp.py: Fix settimeout operation (2020-10-20 15:00:06 -0400)----------------------------------------------------------------
Pull request V2 - Squashed small change in from Nir on 20/21.
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/5.2
for any user-visible changes.
-- PMM