Skip to content

Conversation

@tomaszn
Copy link

@tomaszn tomaszn commented Nov 16, 2025

Since Python 3.12 invalid escape sequences emit SyntaxWarning lines.
https://docs.python.org/3/whatsnew/3.12.html#other-language-changes

This PR fixes all escape sequences in the codebase.

Full explanation: https://stackoverflow.com/a/77531416/1762343

@oaubert
Copy link
Owner

oaubert commented Nov 16, 2025

Thanks for your contribution. It is not the proper fix though - there is already code in place that is supposed to cleanup docstrings, and it appears that even though the libvlc_return_bool should be removed ( https://github.com/oaubert/python-vlc/blob/master/generator/generate.py#L409 ) it is not done. So the issue will go away once the generator is fixed.

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