python: use raw strings when appropriate

We had some incorrectly escaped strings that are now causing
SyntaxWarnings with Python 3.12

* bin/options.py, python/spot/aux_.py, python/spot/ltsmin.i,
python/spot/__init__.py: Here.
* NEWS: Mention the fix.
This commit is contained in:
Alexandre Duret-Lutz 2024-05-03 00:05:33 +02:00
parent dbe31c72c8
commit e6362b785b
5 changed files with 16 additions and 13 deletions

3
NEWS
View file

@ -320,6 +320,9 @@ New in spot 2.11.6.dev (not yet released)
- The configure script failed to detect the include path for Python 3.12.
(Issue #577.)
- Some incorrectly escaped strings in Python code were causing
warnings with Python 3.12.
New in spot 2.11.6 (2023-08-01)
Bug fixes: