bpo-30375: Correct the stacklevel of regex compiling warnings. (#1595)
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.
S
Serhiy Storchaka committed
c7ac7280c321b3c1679fe5f657a6be0f86adf173
Parent: 87fa8a7
Committed by GitHub <noreply@github.com>
on 5/16/2017, 12:16:15 PM