[all-commits] [llvm/llvm-project] 283a6b: [UTC] Fix SyntaxWarning on Python 3.12 (#82327)
Luke Lau via All-commits
all-commits at lists.llvm.org
Tue Feb 20 01:36:13 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 283a6b9936657712f61c38459c87507e587e3625
https://github.com/llvm/llvm-project/commit/283a6b9936657712f61c38459c87507e587e3625
Author: Luke Lau <luke at igalia.com>
Date: 2024-02-20 (Tue, 20 Feb 2024)
Changed paths:
M llvm/utils/UpdateTestChecks/common.py
Log Message:
-----------
[UTC] Fix SyntaxWarning on Python 3.12 (#82327)
On Python 3.12 we now get a warning in common.py:
llvm/utils/UpdateTestChecks/common.py:488: SyntaxWarning: invalid escape
sequence '\s'
This fixes it by using a raw string literal, see
https://github.com/llvm/llvm-project/pull/78036 and
https://docs.python.org/3/library/re.html
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list