commit | dfcfc915787def056e225fb22ad5a5ee8da4052f | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Thu May 18 13:46:17 2017 +0300 |
committer | GitHub <noreply@github.com> | Thu May 18 13:46:17 2017 +0300 |
tree | e24ed34b8a29b6729923ce2bf190a8ab7b6b5ce7 | |
parent | 955b6760cfa73c54bae9b6f2b335eb0cd806c7b0 [diff] |
[2.7] bpo-30375: Correct the stacklevel of regex compiling warnings. (#1595) (#1648) Warnings emitted when compile a regular expression now always point to the line in the user code. Previously they could point into inners of the re module if emitted from inside of groups or conditionals. (cherry picked from commit c7ac7280c321b3c1679fe5f657a6be0f86adf173)