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

Re: [PATCH 1/1] xen/scripts: Fix regex syntax warnings with Python 3.12


  • To: Ariel Otilibili <Ariel.Otilibili-Anieli@xxxxxxxxxx>
  • From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
  • Date: Fri, 20 Dec 2024 08:49:50 +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=QmQpkR0AEin+7tb6Wnmg7LIRuhQlCkBvckwQ+tD+vYQ=; b=pCKQCnazkCnGYhsHLH+Zf8Ebh9j80PBTe09MINPKV6KwKbBFodnZ3z3f8K5X/lxBy5XjvuCpawcctPzcrALsgIGqrqhBo/DHDLzvi8tYO7+ZB3IyCVOGEL81cFdOVZkbd2y8QYnleD8oxVAB6iL/SeUrCPv6EDI4Ii9JpdIm9PWfi84eyx4CwL17Ew2aMboBvaGexW1zOwUQohrDT4sdC/Ir7HJyvwAIeABl5AVb7OgfZQC+VIaf1U0eGqyjseg0v33aHqznCmDMjwUGD/6LnEv9uUC8jOOF7qadJOQqAkTIIBQcdZr/NfPh5msFhBeKrNneOpXMqvE8NQJUGuoz9g==
  • 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=QmQpkR0AEin+7tb6Wnmg7LIRuhQlCkBvckwQ+tD+vYQ=; b=BW3iRoEFkABnm2//0Q4BaqL/f/2GR6gVGb8Sm8ZWqWpHRUSADzy8o0/fb4UoNXPKG+TdWazTBBng4msBl5TEwI5z1hQgORZGLMSaYKrTlaVHrcNyecUNIcHmbmI4KpJaBlc0DuO3GLVxIe5URgVuoaQVYYQP/VRoNRGZWvnN+WMKsWPsof2cnPWU2fOZ+lka/sZaHr4zwnM5Aa9nlcS9UdB3+nLY/Z2V5RmM3n9dgghlMsXKKWuKuxWdhYpCctpK6IJY/MLGD9eupGjpr3kZiYswL51uIsRUBaSVND2SzAO+IhJBhKmef5V0D8S78+JSQWuboINLdGZsTXY8XSg4Cg==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=DK9TU9Xh/fPsCzeSSIc9jXdNi+S+NjGFVfEalAhoSirka9mGG5VteRcNnWSglAufyJYhf8ZGB2xljK47xsW9AmMT0A3wMNRBpTuAN3Xf42cd+AZMFF/S6nPCICgy9nzCg9pUmTmqyYgjFVYJWSQWBJ/XzFJOkvdrOiO30E7jJzGs+pVIJS+40JywDfpWt0sRPdNmJNPiqn5xrR5MEF1Dj8Ub0/FhTYHW0geggNFflnuUStIX57zSU3uLqZrvGl+Fqy4rSwi8Es9yR7JqTsHdL2AVHLmlvj8fji6RcyrJHXs8P45bQAf3gc2/+l3Ae34Zn/9W9IrHucMfS/Ey3OiS2g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tWkEJOro20v7gOR+b71uK5yW/BvA9Pa1kje+vMq5WiDviAo8iC1QB3UfpHbsVsLgSt8B0YolOw0h6cGeb942psfe6jGzPax2mT5In1HBnxtQiTn9Imh4AD0MRlofjJup70elPXO7ezqhGyPvgt8i9O+BYT9kQhyHkv0hWzE7f1/oaVjfs/HvxaQGkh6VukZOcN51kN2Op4em2ReJSaH4QPvmGLvpdIsc2QHLuSGDPshS5kI04AJ+iatjNc3sunjA5WnWioInwemNAR+rdLrXRZdymojGog7eRKbLv18WJVdohJOGDUefmLFkASwcRf3hVjYW1teAGgl4WQH+9DDvcQ==
  • 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>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Fri, 20 Dec 2024 08:50:21 +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: AQHbUkHipcR29N12QU6rggjFP3R+rbLu05mA
  • Thread-topic: [PATCH 1/1] xen/scripts: Fix regex syntax warnings with Python 3.12

Hi Ariel,

> On 19 Dec 2024, at 18:10, Ariel Otilibili <Ariel.Otilibili-Anieli@xxxxxxxxxx> 
> wrote:
> 
> Same fix than commit 826a9eb072 (tools: Fix regex syntax warnings with Python 
> 3.12).
> 
> It clears out the warning:
> 
> ```
> $ xen/scripts/xen-analysis.py
> xen/scripts/xen_analysis/cppcheck_analysis.py:94: SyntaxWarning: invalid 
> escape sequence '\*'
>  comment_line_starts = re.match('^[ \t]*/\*.*$', line)
> ```
> 
> The  warning appears only the first time the command is run, then it 
> disappears.
> 
> Fixes: 02b26c02c7 (xen/scripts: add cppcheck tool to the xen-analysis.py 
> script)
> Signed-off-by: Ariel Otilibili <Ariel.Otilibili-Anieli@xxxxxxxxxx>
> --

Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.