[Python-checkins] [python/cpython] 305ccb: bpo-30298: Weaken the condition of deprecation war...

GitHub noreply at github.com
Tue May 9 23:05:21 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 305ccbe27ea5ba82fd2d8c32ec739f980e524330
      https://github.com/python/cpython/commit/305ccbe27ea5ba82fd2d8c32ec739f980e524330
  Author: Serhiy Storchaka <storchaka at gmail.com>
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
    M Lib/sre_parse.py
    M Lib/test/test_re.py
    M Misc/NEWS

  Log Message:
  -----------
  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)...').




More information about the Python-checkins mailing list