qemu-devel
[Top][All Lists]
Advanced

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

RE: [PATCH] Use f-strings in python scripts


From: Taylor Simpson
Subject: RE: [PATCH] Use f-strings in python scripts
Date: Tue, 14 Mar 2023 17:53:46 +0000


> -----Original Message-----
> From: Marco Liebel (QUIC) <quic_mliebel@quicinc.com>
> Sent: Monday, March 13, 2023 11:26 AM
> To: qemu-devel@nongnu.org
> Cc: Taylor Simpson <tsimpson@quicinc.com>; Marco Liebel (QUIC)
> <quic_mliebel@quicinc.com>
> Subject: [PATCH] Use f-strings in python scripts
> 
> Replace python 2 format string with f-strings
> 
> Signed-off-by: Marco Liebel <quic_mliebel@quicinc.com>
> ---
>  target/hexagon/gen_helper_funcs.py      |  54 ++--
>  target/hexagon/gen_helper_protos.py     |  10 +-
>  target/hexagon/gen_idef_parser_funcs.py |   8 +-
>  target/hexagon/gen_op_attribs.py        |   4 +-
>  target/hexagon/gen_op_regs.py           |  10 +-
>  target/hexagon/gen_opcodes_def.py       |   2 +-
>  target/hexagon/gen_printinsn.py         |  14 +-
>  target/hexagon/gen_shortcode.py         |   2 +-
>  target/hexagon/gen_tcg_func_table.py    |   2 +-
>  target/hexagon/gen_tcg_funcs.py         | 317 +++++++++++-------------
>  target/hexagon/hex_common.py            |   4 +-
>  11 files changed, 198 insertions(+), 229 deletions(-)

Tested-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>

Could you also create a patch to do the same thing to 
target/hexagon/gen_analyze_funcs.py?

Thanks,
Taylor




reply via email to

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