8000 [3.12] gh-129843: fix pure Python implementation of `warnings.warn_explicit` (GH-129848) by miss-islington · Pull Request #131350 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.12] gh-129843: fix pure Python implementation of warnings.warn_explicit (GH-129848) #131350

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 17, 2025

Conversation

miss-islington
Copy link
Contributor
@miss-islington miss-islington commented Mar 17, 2025

The pure Python implementation of warnings.warn_explicit constructs a WarningMessage
with an incorrect source (it incorrectly sets the WarningMessage's line to the given source).
(cherry picked from commit 80e00ec)

Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) thatiparthysreenivas@gmail.com

…licit` (pythonGH-129848)

The pure Python implementation of `warnings.warn_explicit` constructs a `WarningMessage`
with an incorrect source (it incorrectly sets the WarningMessage's line to the given `source`).
(cherry picked from commit 80e00ec)

Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్  రెడ్డి) <thatiparthysreenivas@gmail.com>
@picnixz picnixz merged commit e5e8b8a into python:3.12 Mar 17, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0