python/qemu: qmp: Fix, delint and improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Changes in v2 from the cover letter
- Rebased to master. No conflicts.
- Added docstring describing the allowed value of the new timeout option in accept() (patch 03) [jsnow]
- Set the new timeout option to 15.0 by default [philmd]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | python/qemu: qmp: Replace socket.error with OSErrorpython/ | +8 | 0 replies | |
| 2/5 | python/qemu: Delint the qmp modulepython/ | +41 | 0 replies | |
| 3/5 | python/qemu: qmp: Make accept()'s timeout configurablepython/ | +9 | 1 reply | |
| 4/5 | python/qemu: qmp: Make QEMUMonitorProtocol a context managerpython/ | +13 | 1 reply | |
| 5/5 | python/qemu: qmp: Remove unnused attributespython/ | +0 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | John Snow | Philippe Mathieu-Daudé |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | R-b | R-b |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] python/qemu: qmp: Fix, delint and improvements
I started fixing an issue on exception handling which in some places currently use the deprecated (in Python 3.3) socket.error. Then I ended up delinting the module code and making some improvements.
Changes in v2:
- Rebased to master. No conflicts.
- Added docstring describing the allowed value of the new timeout option in accept() (patch 03) [jsnow]
- Set the new timeout option to 15.0 by default [philmd]
v1: https://www.mail-archive.com/[email protected]/msg667479.html
Git:
- Tree: https://github.com/wainersm/qemu
- Branch: python_qmp_sockets_error-v2
CI:
- Travis (FAIL): https://travis-ci.org/wainersm/qemu/builds/645583812
Jobs failures aren't related with these changes
Wainer dos Santos Moschetta (5):
python/qemu: qmp: Replace socket.error with OSError python/qemu: Delint the qmp module
python/qemu: qmp: Make accept()'s timeout configurable python/qemu: qmp: Make QEMUMonitorProtocol a context manager python/qemu: qmp: Remove unnused attributes
python/qemu/qmp.py | 97 +++++++++++++++++++++++++++++++++------------- 1 file changed, 71 insertions(+), 26 deletions(-)
Signature · 1 line
2.23.0