qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] Python3 Support for qmp.py


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH v2] Python3 Support for qmp.py
Date: Fri, 07 Jul 2017 15:15:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Ishani Chugh <address@hidden> writes:

> This patch intends to make qmp.py compatible with both python2 and python3.
>
>  * Python 3 does not have dict.has_key(key), use key in dict instead
>  * Avoid line-based I/O since Python 2/3 have different character
>    encoding behavior.  Explicitly encode/decode JSON UTF-8.
>  * Replace print by print function.
>
> Signed-off-by: Ishani Chugh <address@hidden>

$ scripts/get_maintainer.pl -f $your_patch
Markus Armbruster <address@hidden> (supporter:QMP)
address@hidden (open list:All patches CC here)

Just sayin' :)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]