[Python-checkins] [python/cpython] 898ff0: bpo-30215: Make re.compile() locale agnostic. (#13...

GitHub noreply at github.com
Fri May 5 01:53:41 EDT 2017


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

  Changed paths:
    M Doc/library/re.rst
    M Lib/re.py
    M Lib/sre_compile.py
    M Lib/sre_constants.py
    M Lib/test/test_re.py
    M Misc/NEWS
    M Modules/_sre.c
    M Modules/sre_constants.h
    M Modules/sre_lib.h

  Log Message:
  -----------
  bpo-30215: Make re.compile() locale agnostic. (#1361)

Compiled regular expression objects with the re.LOCALE flag no longer
depend on the locale at compile time.  Only the locale at matching
time affects the result of matching.




More information about the Python-checkins mailing list