Skip to content

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

Merged
picnixz merged 1 commit into
python:3.13from
miss-islington:backport-80e00ec-3.13
Mar 17, 2025
Merged

picnixz merged 1 commit into
python:3.13from
miss-islington:backport-80e00ec-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Mar 17, 2025 •

Copy link
Copy Markdown
Contributor

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants