FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-129843: Fix the wrong argument passed - converting positional argument to named argument by srinivasreddy · Pull Request #129848 · python/cpython · GitHub

Repository navigation

gh-129843: Fix the wrong argument passed - converting positional argument to named argument - #129848

Merged
picnixz merged 4 commits into
python:mainfrom
srinivasreddy:gh-129843
Mar 17, 2025
Merged

picnixz merged 4 commits into
python:mainfrom
srinivasreddy:gh-129843

Conversation

srinivasreddy commented Feb 8, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

auvipy left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

not sure, if this need an entry to news? it seems to be a kind of bug fix to me, isn't it?

srinivasreddy commented Feb 13, 2025 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

Yes, It is a bug fix, and i do not think it warrants a news entry.

picnixz commented Mar 14, 2025

Copy link
Copy Markdown
Member

Yes, It is a bug fix, and i do not think it warrants a news entry.

It still needs a NEWS IMO because it's still a change that users may be happy to know. Something along the lines "Fix Python implementation of :func:`warnings.warn_explicit`."

Abhisek-Tiwari added a commit to Abhisek-Tiwari/cpython that referenced this pull request Mar 14, 2025

Copy link
Copy Markdown
Contributor Author

@picnixz Done

picnixz enabled auto-merge (squash) March 17, 2025 10:26
picnixz added needs backport to 3.12 only security fixes needs backport to 3.13 only security fixes labels Mar 17, 2025
picnixz merged commit 80e00ec into python:main Mar 17, 2025

Copy link
Copy Markdown

Thanks @srinivasreddy for the PR, and @picnixz for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 17, 2025
…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>

bedevere-app Bot commented Mar 17, 2025

Copy link
Copy Markdown

GH-131349 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 only security fixes label Mar 17, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 17, 2025
…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>

bedevere-app Bot commented Mar 17, 2025

Copy link
Copy Markdown

GH-131350 is a backport of this pull request to the 3.12 branch.

bedevere-app Bot removed the needs backport to 3.12 only security fixes label Mar 17, 2025
picnixz pushed a commit that referenced this pull request Mar 17, 2025
…plicit` (GH-129848) (#131349)

gh-129843: fix pure Python implementation of `warnings.warn_explicit` (GH-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 pushed a commit that referenced this pull request Mar 17, 2025
…plicit` (GH-129848) (#131350)

gh-129843: fix pure Python implementation of `warnings.warn_explicit` (GH-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>
srinivasreddy deleted the gh-129843 branch March 17, 2025 12:56
plashchynski pushed a commit to plashchynski/cpython that referenced this pull request Mar 17, 2025
…licit` (python#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`).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL