Skip to content

Fix SyntaxWarning #286

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

Closed
wants to merge 1 commit into from
Closed

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

@pepijndevos
Copy link
Member

I forgot about this and meanwhile it got fixed in #304

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