Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

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 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.
@miss-islington
Copy link
Contributor

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 March 19, 2022 12:13
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 <[email protected]>
@bedevere-bot
Copy link

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

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Mar 19, 2022
@bedevere-bot
Copy link

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

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label 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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
@jugmac00
Copy link
Contributor

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 <[email protected]>
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.

6 participants