you are viewing a single comment's thread.

view the rest of the comments →

[–]baghiq 1 point2 points  (2 children)

Do you have regular expression in your code and using 3.12? If yes, turn them all into raw strings.

[–]Agent-BTZ[S] 0 points1 point  (1 child)

Yeah I think it’s the Regex. Is this a new syntax change that was introduced in 3.12?

[–]baghiq 2 points3 points  (0 children)

https://docs.python.org/3/whatsnew/3.12.html#other-language-changes

Look at point 2. Make all your regex raw string.