Skip to content

[3.6] bpo-30375: Correct the stacklevel of regex compiling warnings. (GH-1595) #1604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 16, 2017

Conversation

serhiy-storchaka
Copy link
Member

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 c7ac728)

…ythonGH-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..
(cherry picked from commit c7ac728)
@serhiy-storchaka serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label May 16, 2017
@serhiy-storchaka serhiy-storchaka merged commit 73fb45d into python:3.6 May 16, 2017
@serhiy-storchaka serhiy-storchaka deleted the backport-c7ac728-3.6 branch May 16, 2017 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants