Closed AlexMax closed 10 months ago
I'm getting this message when attempting to run master with Python 3.12.1 on Windows
master
PS ...> binmerge.py ...\binmerge.py:122: SyntaxWarning: invalid escape sequence '\d' m = re.search('TRACK (\d+) ([^\s]*)', line) ...\binmerge.py:128: SyntaxWarning: invalid escape sequence '\d' m = re.search('INDEX (\d+) (\d+:\d+:\d+)', line) ...\binmerge.py:169: SyntaxWarning: invalid escape sequence '\d' m = re.match("(\d+):(\d+):(\d+)", stamp) usage: binmerge.py [-h] [-l] [-v] [-s] [-o OUTDIR] cuefile basename binmerge.py: error: the following arguments are required: cuefile, basename
Seems like some of these strings are missing r prefixes.
r
Thanks for the report. Looks like 3.12 raised this warning, which was previously a (hidden) DeprecationWarning.
The app should run fine regardless, but I will fix those regex strings.
Fixed in 5576322
I'm getting this message when attempting to run
master
with Python 3.12.1 on WindowsSeems like some of these strings are missing
r
prefixes.