Ariel Otilibili, Dec 08, 2024 at 03:25:
* invalid escape sequences now generate SyntaxWarning
* therefore changed syntax to raw string noration.
Link: https://docs.python.org/3/library/re.html#module-re
Signed-off-by: Ariel Otilibili <otili...@eurecom.fr>
Hi Ariel, thanks for the fix!
Acked-by: Robin Jarry <rja...@redhat.com>
If you have time, I there are other bits that would need the same fix:
buildtools/get-numa-count.py:14: numa_nodes.sort(key=lambda l:
int(re.findall('\d+', l)[0]))
devtools/check-meson.py:54: if re.match('^ *\t', code):
doc/api/generate_doxygen.py:8:pattern = re.compile('^Preprocessing (.*)...$')
Cheers.