[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH] Use f-strings in python scripts
From: |
Marco Liebel |
Subject: |
RE: [PATCH] Use f-strings in python scripts |
Date: |
Tue, 14 Mar 2023 20:43:52 +0000 |
> -----Original Message-----
> From: Taylor Simpson <tsimpson@quicinc.com>
> Sent: Dienstag, 14. März 2023 18:54
> To: Marco Liebel (QUIC) <quic_mliebel@quicinc.com>; qemu-
> devel@nongnu.org
> Subject: RE: [PATCH] Use f-strings in python scripts
>
>
>
> > -----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?
Of course. I'll add it to this one and send v2 later.
Marco
>
> Thanks,
> Taylor
>