From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EE323E7717F for ; Tue, 17 Dec 2024 13:26:21 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.859144.1271287 (Exim 4.92) (envelope-from ) id 1tNXaW-0002EU-38; Tue, 17 Dec 2024 13:26:12 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 859144.1271287; Tue, 17 Dec 2024 13:26:12 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tNXaW-0002EN-01; Tue, 17 Dec 2024 13:26:12 +0000 Received: by outflank-mailman (input) for mailman id 859144; Tue, 17 Dec 2024 13:26:11 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tNXaV-0002EH-42 for xen-devel@lists.xenproject.org; Tue, 17 Dec 2024 13:26:11 +0000 Received: from smtp.eurecom.fr (smtp.eurecom.fr [193.55.113.210]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 7a775f9f-bc7a-11ef-a0d6-8be0dac302b0; Tue, 17 Dec 2024 14:26:10 +0100 (CET) Received: from quovadis.eurecom.fr ([10.3.2.233]) by drago1i.eurecom.fr with ESMTP; 17 Dec 2024 14:26:09 +0100 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 7a775f9f-bc7a-11ef-a0d6-8be0dac302b0 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=eurecom.fr; i=@eurecom.fr; q=dns/txt; s=default; t=1734441970; x=1765977970; h=from:in-reply-to:references:date:cc:to:mime-version: message-id:subject:content-transfer-encoding; bh=Njae+Vsl2XA1tfc//Ve7NVHONOq0L0Ei91adjZe8SbI=; b=k2Rav9JCeHPEOrJjKzxG2UOBNLPcnQOlWYyW5W8R3K3MJTxmTorePz1S Dkhv5Y0caOg7+mWfP7bfoO4F0D5AD19xkOJEkWTD7jIIRrwjLUGNU/PjV /adhByegYpYhtzWxWssmmgUqW54b98tV174sO7sS8HniSyC8h/L2UemYY k=; X-CSE-ConnectionGUID: 4bbj8gOQS0aw8yPq5Idi+g== X-CSE-MsgGUID: OnzP+206QKm1NpThvlUmvg== X-IronPort-AV: E=Sophos;i="6.12,241,1728943200"; d="scan'208";a="28218467" From: "Ariel Otilibili-Anieli" In-Reply-To: Content-Type: text/plain; charset="utf-8" X-Forward: 149.5.228.1 References: <20241214161350.70515-1-Ariel.Otilibili-Anieli@eurecom.fr> <20241216231128.211648-1-Ariel.Otilibili-Anieli@eurecom.fr> <20241216231128.211648-2-Ariel.Otilibili-Anieli@eurecom.fr> Date: Tue, 17 Dec 2024 14:26:09 +0100 Cc: =?utf-8?q?xen-devel=40lists=2Exenproject=2Eorg?= , "Jan Beulich" , "Anthony PERARD" , "Andrew Cooper" To: "Luca Fancellu" MIME-Version: 1.0 Message-ID: <2f7a88-67617c00-f1a5-208cdcc@55733305> Subject: =?utf-8?q?Re=3A?= [PATCH v2 1/1] =?utf-8?q?tools=2C?= =?utf-8?q?_xen/scripts=3A?= clear out Python syntax warnings User-Agent: SOGoMail 5.11.1 Content-Transfer-Encoding: quoted-printable On Tuesday, December 17, 2024 09:31 CET, Luca Fancellu wrote: > Hi Ariel, >=20 > > On 16 Dec 2024, at 23:07, Ariel Otilibili wrote: > >=20 > > * since 3.12 invalid escape sequences generate SyntaxWarning > > * in the future, these invalid sequences will generate SyntaxError > > * therefore changed syntax to raw string notation. > >=20 > > Link: https://docs.python.org/3/whatsnew/3.12.html#other-language-c= hanges > > Fixes: d8f3a67bf98 ("pygrub: further improve grub2 support") > > Fixes: dd03048708a ("xen/pygrub: grub2/grub.cfg from RHEL 7 has new= commands in menuentry") > > Fixes: d1b93ea2615 ("tools/pygrub: Make pygrub understand default e= ntry in string format") > > Fixes: 622e368758b ("Add ZFS libfsimage support patch") > > Fixes: 02b26c02c7c ("xen/scripts: add cppcheck tool to the xen-anal= ysis.py script") > > Fixes: 56c0063f4e7 ("xen/misra: xen-analysis.py: Improve the cppche= ck version check") > >=20 > > Cc: Anthony PERARD > > Cc: Luca Fancellu > > Cc: Andrew Cooper > > Signed-off-by: Ariel Otilibili >=20 > For the xen=5Fanalysis tool: >=20 > Reviewed-by: Luca Fancellu Awesome, Luca; thanks for review. I am looking forward a feedback on the other hunks. Ariel >=20 >