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

gh-139640: Fix swallowing syntax warnings in different modules (restore duplicated PEP 765 warnings) by serhiy-storchaka · Pull Request #139755 · python/cpython · GitHub

/ cpython Public

gh-139640: Fix swallowing syntax warnings in different modules (restore duplicated PEP 765 warnings) - #139755

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:compile-syntax-warnings3
Oct 14, 2025
Merged

gh-139640: Fix swallowing syntax warnings in different modules (restore duplicated PEP 765 warnings)#139755
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:compile-syntax-warnings3

Conversation

serhiy-storchaka commented Oct 8, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Revert GH-131993.

Fix swallowing some syntax warnings in different modules if they accidentally have the same message and are emitted from the same line.

Copy link
Copy Markdown
Member Author

This is a third alternative -- just restore the double PEP 765 warnings. Temporary, I hope.

serhiy-storchaka changed the title gh-139640: Fix swallowing syntax warnings in different modules gh-139640: Fix swallowing syntax warnings in different modules (restore duplicated PEP 765 warnings) Oct 8, 2025
Revert pythonGH-131993.

Fix swallowing some syntax warnings in different modules if they accidentally
have the same message and are emitted from the same line.
serhiy-storchaka force-pushed the compile-syntax-warnings3 branch from 6cb99f0 to c12e7ec Compare October 8, 2025 08:28
serhiy-storchaka merged commit 279db6b into python:main Oct 14, 2025
45 checks passed
serhiy-storchaka deleted the compile-syntax-warnings3 branch October 14, 2025 14:48
serhiy-storchaka added the needs backport to 3.14 bugs and security fixes label Oct 14, 2025

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 14, 2025
…ythonGH-139755)

Revert pythonGH-131993.

Fix swallowing some syntax warnings in different modules if they accidentally
have the same message and are emitted from the same line.
(cherry picked from commit 279db6b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

bedevere-app Bot commented Oct 14, 2025

Copy link
Copy Markdown

GH-140117 is a backport of this pull request to the 3.14 branch.

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Oct 14, 2025
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Oct 14, 2025
…odules (pythonGH-139755)

Revert pythonGH-131993.

Fix swallowing some syntax warnings in different modules if they accidentally
have the same message and are emitted from the same line.
(cherry picked from commit 279db6b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

bedevere-app Bot commented Oct 14, 2025

Copy link
Copy Markdown

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

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Oct 14, 2025
…odules (pythonGH-139755)

Revert pythonGH-131993.

Fix swallowing some syntax warnings in different modules if they accidentally
have the same message and are emitted from the same line.

Fix duplicated warnings in the "finally" block.

(cherry picked from commit 279db6b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Oct 14, 2025
…GH-139755) (GH-140119)

Revert GH-131993.

Fix swallowing some syntax warnings in different modules if they accidentally
have the same message and are emitted from the same line.

Fix duplicated warnings in the "finally" block.

(cherry picked from commit 279db6b)
serhiy-storchaka added a commit that referenced this pull request Oct 14, 2025
…GH-139755) (GH-140117)

Revert GH-131993.

Fix swallowing some syntax warnings in different modules if they accidentally
have the same message and are emitted from the same line.

Fix duplicated warnings in the "finally" block.

(cherry picked from commit 279db6b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

* Update 2025-10-06-10-03-37.gh-issue-139640.gY5oTb.rst

---------

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
…ythonGH-139755)

Revert pythonGH-131993.

Fix swallowing some syntax warnings in different modules if they accidentally
have the same message and are emitted from the same line.
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.

1 participant


Back | FazBrowse Home | New Git URL