Skip to content

Conversation

@rleh
Copy link
Member

@rleh rleh commented Mar 14, 2024

Since Python 3.6 backslash-character pairs that are not valid escape sequences are deprecated and generate a SyntaxWarning: invalid escape sequence warning. This is fixed by using raw string.

The same problem is also fixed in modm-devices submodule, see modm-io/modm-devices#109.

rleh added 2 commits March 15, 2024 12:12
Since Python 3.6 backslash-character pairs that are not valid escape sequences are deprecated and generate a 'SyntaxWarning: invalid escape sequence' warning.
This is fixed by using raw string.
@rleh rleh force-pushed the fix/python_re_rawstring branch from 0332d6d to c43be03 Compare March 15, 2024 11:13
@rleh rleh requested review from chris-durand and salkinium March 15, 2024 11:13
Copy link
Member

@salkinium salkinium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@chris-durand chris-durand merged commit c43be03 into modm-io:develop Mar 15, 2024
@rleh rleh deleted the fix/python_re_rawstring branch March 16, 2024 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants