Bug#1087234: imediff: lines2lib.py:20: SyntaxWarning: invalid escape sequence '\s'

2024-11-10 Thread Osamu Aoki
Hi, Thanks for reminder. I overlooked tricky ones hidden in multiline string. Fixed. ''' r"\s" ''' Osamu On Sun, 2024-11-10 at 14:18 +0800, Paul Wise wrote: > Package: imediff > Version: 3.0-1 > Severity: minor > File: /usr/lib/python3/dist-packages/imediff/lines2lib.py > User: debian-pyt.

Bug#1087234: imediff: lines2lib.py:20: SyntaxWarning: invalid escape sequence '\s'

2024-11-09 Thread Paul Wise
Package: imediff Version: 3.0-1 Severity: minor File: /usr/lib/python3/dist-packages/imediff/lines2lib.py User: debian-pyt...@lists.debian.org Usertags: python3.12 Installing imediff gives a Python 3.12 warning, the fix for this is probably to use raw strings: https://lwn.net/Articles/795546/