##// END OF EJS Templates
py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences...
py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences Mercurial became very noisy after https://github.com/python/cpython/commit/a60ddd31be7ff96a8189e7483bf1eb2071d2bddf , for example: $ python3.12 mercurial/store.py mercurial/store.py:406: SyntaxWarning: invalid escape sequence '\.' EXCLUDED = re.compile(b'.*undo\.[^/]+\.(nd?|i)$') This verbosity made some tests fail. The problems were mostly insufficiently escaped regexps, relying on the Python parser/scanner preserving invalid escape sequences.

File last commit:

r30346:9cc438bf default
r51229:805d4a46 stable
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer