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

PEP 765: What's New warnings filter suggestions by ncoghlan · Pull Request #139658 · python/cpython · GitHub

/ cpython Public

PEP 765: What's New warnings filter suggestions - #139658

Merged
AA-Turner merged 3 commits into
python:mainfrom
ncoghlan:whats-new-syntax-warning-control
Oct 6, 2025
Merged

PEP 765: What's New warnings filter suggestions#139658
AA-Turner merged 3 commits into
python:mainfrom
ncoghlan:whats-new-syntax-warning-control

Conversation

ncoghlan commented Oct 6, 2025
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

For CI use cases where static code analysis is in use, emitting syntax warnings is essentially redundant.

Accordingly, there's no harm in suggesting that folks turn them off to avoid poor interactions between PEP 765 and treating warnings as errors.


📚 Documentation preview 📚: https://cpython-previews--139658.org.readthedocs.build/

For CI use cases where static code analysis is in use,
emitting SyntaxWarnings is essentially redundant.

Accordingly, there's no harm in suggesting that folks
turn them off to avoid poor interactions between PEP 765
and treating warnings as errors.
ncoghlan requested a review from iritkatriel October 6, 2025 13:38
ncoghlan requested a review from AA-Turner as a code owner October 6, 2025 13:38
ncoghlan added docs Documentation in the Doc dir skip issue skip news labels Oct 6, 2025
github-project-automation Bot moved this to Todo in Docs PRs Oct 6, 2025
ncoghlan added 3.14 bugs and security fixes needs backport to 3.14 bugs and security fixes 3.15 pre-release feature fixes, bugs and security fixes labels Oct 6, 2025
Comment thread Doc/whatsnew/3.14.rst Outdated
Comment thread Doc/whatsnew/3.14.rst Outdated
Comment thread Doc/whatsnew/3.14.rst Outdated
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Comment thread Doc/whatsnew/3.14.rst
AA-Turner removed 3.14 bugs and security fixes 3.15 pre-release feature fixes, bugs and security fixes labels Oct 6, 2025
AA-Turner merged commit 3311580 into python:main Oct 6, 2025
31 checks passed
github-project-automation Bot moved this from Todo to Done in Docs PRs Oct 6, 2025

Copy link
Copy Markdown

Thanks @ncoghlan for the PR, and @AA-Turner for merging it 🌮🎉.. 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 6, 2025
…nGH-139658)

(cherry picked from commit 3311580)

Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

bedevere-app Bot commented Oct 6, 2025

Copy link
Copy Markdown

GH-139676 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 6, 2025
hugovk pushed a commit that referenced this pull request Oct 6, 2025
…GH-139658) (#139676)

Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
danigm pushed a commit to openSUSE-Python/cpython that referenced this pull request Oct 7, 2025
…n#139658)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
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

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL