Skip to content

Conversation

Simon-Brandt
Copy link
Contributor

Fix #1457

To prevent a SyntaxWarning (or in the future a SyntaxError) for escaped characters in Unicode strings that the Python parser does not interpret (but the regex parser does), I modified the respective strings, marking them as either raw strings or doubling the backslashes, as appropriate for the given environment.

@asl asl requested a review from andrewprzh March 25, 2025 15:57
@asl asl merged commit d5db956 into ablab:main Apr 1, 2025
92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SyntaxWarning for invalid escape sequences in Python 3.12

3 participants