Re: [PATCH] pylibfdt: Fix "invalid escape sequence '\w'" in setup.py

2024-03-01 Thread Tom Rini
On Tue, Feb 20, 2024 at 08:52:48AM -0500, Tom Rini wrote: > From: Florian Schmaus > > Once u-boot's build system invokes > > python3 scripts/dtc/pylibfdt/setup.py --quiet build_ext --inplace > > it may fail with > > scripts/dtc/pylibfdt/setup.py:40: SyntaxWarning: invalid escape sequence '\w'

Re: [PATCH] pylibfdt: Fix "invalid escape sequence '\w'" in setup.py

2024-02-27 Thread Heinrich Schuchardt
On 2/20/24 14:52, Tom Rini wrote: From: Florian Schmaus Once u-boot's build system invokes python3 scripts/dtc/pylibfdt/setup.py --quiet build_ext --inplace it may fail with scripts/dtc/pylibfdt/setup.py:40: SyntaxWarning: invalid escape sequence '\w' RE_KEY_VALUE = re.compile('(?P\w+) *(

[PATCH] pylibfdt: Fix "invalid escape sequence '\w'" in setup.py

2024-02-20 Thread Tom Rini
From: Florian Schmaus Once u-boot's build system invokes python3 scripts/dtc/pylibfdt/setup.py --quiet build_ext --inplace it may fail with scripts/dtc/pylibfdt/setup.py:40: SyntaxWarning: invalid escape sequence '\w' RE_KEY_VALUE = re.compile('(?P\w+) *(?P[+])?= *(?P.*)$') depending on the