-
Notifications
You must be signed in to change notification settings - Fork 96
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
deprecation warnings on python 3.9 #164
Comments
@wbolster, I'm unable to reproduce this using Python 3.9.18 and current GitHub code (which is unchanged from the lines quoted above). Are you able to confirm it is happening for you still? |
are you sure warnings are actually shown? i can reproduce this with py39 – py312:
note how py312 turned it from |
I see that too (using -Wa), but actually importing the |
Python 3.6 began reporting a DeprecationWarning for the use of backslash escape sequence where the second character isn't a valid Python escape sequence. Unlike C, in Python, the result of this is both characters (not just the second). Python 3.12 changed that to a SyntaxWarning, the final step before making it a SyntaxError. So, we should fix it now. First reported as skarim#164
Fixed in py-vobject#21, thanks for the report! |
thanks! |
importing the
vobject
module using python 3.9 results in these warnings:DeprecationWarning: invalid escape sequence
details:
The text was updated successfully, but these errors were encountered: