Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SyntaxWarning #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

eamanu
Copy link

@eamanu eamanu commented Oct 22, 2024

This commit remove an invalid escape sequence.

Error originally reported here [0]

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085325

This commit remove an invalid escape sequence.
@pepijndevos
Copy link
Member

pepijndevos commented Oct 22, 2024 via email

@eamanu
Copy link
Author

eamanu commented Oct 25, 2024

Hi!

Sorry, I don't know what you mean, but invalid escape sequence were deprecated in py3.6[0]. In python3.12 the DeprecationWarning was replaced by a SyntaxWarning[1].

This commit convert the literal string in a raw.

[0] python/cpython#98401
[1] https://docs.python.org/3/whatsnew/3.12.html#other-language-changes

@pepijndevos
Copy link
Member

pepijndevos commented Oct 25, 2024 via email

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.

2 participants