]> granicus.if.org Git - python/commit
bpo-30298: Weaken the condition of deprecation warnings for inline modifiers. (#1490)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 10 May 2017 03:05:20 +0000 (06:05 +0300)
committerGitHub <noreply@github.com>
Wed, 10 May 2017 03:05:20 +0000 (06:05 +0300)
commit305ccbe27ea5ba82fd2d8c32ec739f980e524330
treeb2a5769d41b5de66dff278d57b2caa57b18d4f63
parent211a392cc15f9a7b1b8ce65d8f6c9f8237d1b77f
bpo-30298: Weaken the condition of deprecation warnings for inline modifiers. (#1490)

Now allowed several subsequential inline modifiers at the start of the
pattern (e.g. '(?i)(?s)...').  In verbose mode whitespaces and comments
now are allowed before and between inline modifiers (e.g.
'(?x) (?i) (?s)...').
Lib/sre_parse.py
Lib/test/test_re.py
Misc/NEWS