]> granicus.if.org Git - python/commit
[2.7] bpo-30363: Backport warnings in the re module. (#1577)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 18 May 2017 09:34:40 +0000 (12:34 +0300)
committerGitHub <noreply@github.com>
Thu, 18 May 2017 09:34:40 +0000 (12:34 +0300)
commit955b6760cfa73c54bae9b6f2b335eb0cd806c7b0
tree25e1a106b63bf59f5f88eef54c1da48138ceba11
parent09b52471f39ba280d836b945d47719c697af0b45
[2.7] bpo-30363: Backport warnings in the re module. (#1577)

Running Python with the -3 option now warns about regular expression
syntax that is invalid or has different semantic in Python 3
or will change the behavior in future Python versions.
Lib/_strptime.py
Lib/sre_compile.py
Lib/sre_parse.py
Lib/test/test_re.py
Misc/NEWS
Modules/_sre.c