]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39394: Improve warning message in the re module (GH-31988)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 19 Mar 2022 12:13:31 +0000 (14:13 +0200)
committerGitHub <noreply@github.com>
Sat, 19 Mar 2022 12:13:31 +0000 (14:13 +0200)
commit4142961b9f5ad3bf93976a6a7162f8049e354018
tree67f64a7584a131766a4015425264d00317fda614
parent0a8b8e0d262eae83ffbc6b414a1f5747cdbd1d88
bpo-39394: Improve warning message in the re module (GH-31988)

A warning about inline flags not at the start of the regular
expression now contains the position of the flag.
Lib/sre_parse.py
Lib/test/test_re.py
Misc/NEWS.d/next/Library/2022-03-19-13-38-29.bpo-39394.7j6WL6.rst [new file with mode: 0644]