[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/1] tools, xen/scripts: clear out Python syntax warnings
- To: Ariel Otilibili <Ariel.Otilibili-Anieli@xxxxxxxxxx>
- From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
- Date: Tue, 17 Dec 2024 08:31:16 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SEC0tfqc/UUMUkKLI5fX0XqY+czKS6Zq2mVkenu/40o=; b=b7tyWBo5+cxASzeRkgoJK+aRC2QqAkKQoldSIwE+OUFR8ItUcdxSLY0nEhmiR2CzCSUeJlCll4U70tRT6HCNjoSQ6iJIStyWqHbw+PvRGsiubzQIVhoeLw4LflBsyARbOJ69E9P+dBgUWZkXzw5Z+8FNtI7TExb3O2fIw9mxAybuhPfit5ecFw66y+nzzDp6DrI5gcXCpPkg803NajfPkiRw0goloJ4OLogqxGNSB1Lx7XmtvxazImtNffuhOSxaJm/AZ9kJRZi4Eed7kHsRYTu/4G/M4LEDve4LmeeDSFG2D4wflGRDASs1VqqG81SSKQDAcb0L19M1z4PmpEJr/w==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SEC0tfqc/UUMUkKLI5fX0XqY+czKS6Zq2mVkenu/40o=; b=MigWO1uDIAXElKxec+9ZyDBx2iNoTW7SQXPP4z73W18VR5zvC7cguhLM5zwZ9iVmWbTaD8EiBjt3neU2o5DDQ1ka+K02j7wQdv4M3pMDx2EJmfmzdGWWc18mrFRcYx91rRXNy6OcWNgiMi6tPTAyuvcpZwB5HPfm8XAQ2Ato2oRyMH0h13len2d7HZfVxRbF48iVW7h+YgSMFZagMsz5Z4ISdBDh2RagXvQUiGFs2KVB6kJwmrTb8IkZQ2ncnT0FruRK5He0K0WmEGhXPXdywCNgk43dBsRUiOeaJdrrAu7n8bhWBjD5jjP/xSUADd2UPX2tD1CyhcK2aIiBooVL8Q==
- Arc-seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=oSQscCiZt97LJ5QTEhTHFiz4HhVzHFdKxZG7EBcuamh1t3YQKk4aCZTaiC/gPxpqqDtpWz4mxxMaMv9ZJGAW6UDPxWX/x7QIryjZGA43babRxjbuM5uQ1Ri0olR6RBDyc/mNxjiWiL6wBsAj7NbZiDy1yk8RUM5dGrR3h9CFfF6dkZY5V7kZCxo9megp6SyaOoM78hwmLXVczCakwMhUVaaeXVHRFT4StGlRnPpElTv/LSVA+PIMvOPSN4jB0DvPZdTqew4iAYIZhtBMt/EZGp0Weltvdli90evPvhHURlj8ZLyy0DeLAcxIwira8J8INY7hn7ozrMk+Atb4HK9hXw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=O0Y1z8pu7heE2Clx2RSKefBGTQQBt2SjABMv1k+t79pYDIfZJg7mlvgazW0w6fdfvf0Afpz3J0sYg+2Ue9f8OEeFfS/K/WXfd05Hix65UVR8FDtzP71da+7ZOWIYEq2sd5HT0/jggZ9G1opg8hmSocul4doL5a/pyPrP3LnVlxPId1Ae/R0XGckRkHYFCO5O6rt3l0lOfcMGZFkwVxZp+VbuhaW7jpbXGxcnr8+mbiK3NGvzUUZCI4iAe/Uo4tdNzfiMd/9BBySUV3TqcXYjZYj39/rfTAs+NLwA6npehndew3u1AeztjaR5rym+/KZ07GE9xUGAHatPn5JIG1y93A==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Delivery-date: Tue, 17 Dec 2024 08:31:37 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Thread-index: AQHbUA/lHa/DXS8C6UW0n1kPYHB8v7LqG9AA
- Thread-topic: [PATCH v2 1/1] tools, xen/scripts: clear out Python syntax warnings
Hi Ariel,
> On 16 Dec 2024, at 23:07, Ariel Otilibili <Ariel.Otilibili-Anieli@xxxxxxxxxx>
> wrote:
>
> * since 3.12 invalid escape sequences generate SyntaxWarning
> * in the future, these invalid sequences will generate SyntaxError
> * therefore changed syntax to raw string notation.
>
> Link: https://docs.python.org/3/whatsnew/3.12.html#other-language-changes
> 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 entry in
> string format")
> Fixes: 622e368758b ("Add ZFS libfsimage support patch")
> Fixes: 02b26c02c7c ("xen/scripts: add cppcheck tool to the xen-analysis.py
> script")
> Fixes: 56c0063f4e7 ("xen/misra: xen-analysis.py: Improve the cppcheck version
> check")
>
> Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>
> Cc: Luca Fancellu <luca.fancellu@xxxxxxx>
> Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> Signed-off-by: Ariel Otilibili <Ariel.Otilibili-Anieli@xxxxxxxxxx>
For the xen_analysis tool:
Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
|