Skip to content
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

bpo-39394: Improve warning message in the re module #31988

Merged
merged 1 commit into from Mar 19, 2022

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Mar 19, 2022

A warning about inline flags not at the start of the regular
expression now contains the position of the flag.

https://bugs.python.org/issue39394

A warning about inline flags not at the start of the regular
expression now contains the position of the flag.
@serhiy-storchaka serhiy-storchaka merged commit 4142961 into python:main Mar 19, 2022
12 checks passed
@miss-islington
Copy link
Contributor

miss-islington commented Mar 19, 2022

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒🤖 I'm not a witch! I'm not a witch!

@serhiy-storchaka serhiy-storchaka deleted the re-warn-inline-flags branch Mar 19, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 19, 2022
A warning about inline flags not at the start of the regular
expression now contains the position of the flag.
(cherry picked from commit 4142961)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

bedevere-bot commented Mar 19, 2022

GH-31989 is a backport of this pull request to the 3.10 branch.

@bedevere-bot
Copy link

bedevere-bot commented Mar 19, 2022

GH-31990 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 19, 2022
A warning about inline flags not at the start of the regular
expression now contains the position of the flag.
(cherry picked from commit 4142961)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington added a commit that referenced this pull request Mar 19, 2022
A warning about inline flags not at the start of the regular
expression now contains the position of the flag.
(cherry picked from commit 4142961)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington added a commit that referenced this pull request Mar 19, 2022
A warning about inline flags not at the start of the regular
expression now contains the position of the flag.
(cherry picked from commit 4142961)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@jugmac00
Copy link
Contributor

jugmac00 commented Mar 19, 2022

Thank you, @serhiy-storchaka - appreciate that you worked on this rather old issue of mine.

hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
A warning about inline flags not at the start of the regular
expression now contains the position of the flag.
(cherry picked from commit 4142961)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants