Skip to content

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.

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.
@serhiy-storchaka serhiy-storchaka added type-bug An unexpected behavior, bug, or error needs backport to 3.5 labels May 15, 2017
@mention-bot
Copy link

@serhiy-storchaka, thanks for your PR! By analyzing the history of the files in this pull request, we identified @rhettinger, @niemeyer and @bitdancer to be potential reviewers.

@serhiy-storchaka serhiy-storchaka merged commit c7ac728 into python:master May 16, 2017
@serhiy-storchaka serhiy-storchaka deleted the re-parse-warnings-stacklevel branch May 16, 2017 12:16
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request May 16, 2017
…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 added a commit to serhiy-storchaka/cpython that referenced this pull request May 16, 2017
…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 added a commit that referenced this pull request May 16, 2017
…H-1595) (#1604)

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 added a commit that referenced this pull request May 16, 2017
…H-1595) (#1605)

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 added a commit to serhiy-storchaka/cpython that referenced this pull request May 18, 2017
…ython#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 added a commit that referenced this pull request May 18, 2017
…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 c7ac728)
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.

4 participants