Skip to content

Conversation

@ncoghlan
Copy link
Contributor

@ncoghlanncoghlan commented Oct 6, 2025

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.
@ncoghlanncoghlan added docs Documentation in the Doc dir skip issue skip news labels Oct 6, 2025
@ncoghlanncoghlan added 3.14 bugs and security fixes needs backport to 3.14 bugs and security fixes 3.15 new features, bugs and security fixes labels Oct 6, 2025
Co-authored-by: Irit Katriel <[email protected]> Co-authored-by: Adam Turner <[email protected]>
@AA-TurnerAA-Turner removed 3.14 bugs and security fixes 3.15 new features, bugs and security fixes labels Oct 6, 2025
@AA-TurnerAA-Turner merged commit 3311580 into python:mainOct 6, 2025
31 checks passed
@github-project-automationgithub-project-automationbot moved this from Todo to Done in Docs PRsOct 6, 2025
@miss-islington-app
Copy link

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 <[email protected]> Co-authored-by: Irit Katriel <[email protected]> Co-authored-by: Adam Turner <[email protected]>
@bedevere-app
Copy link

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

@bedevere-appbedevere-appbot 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 <[email protected]> Co-authored-by: Irit Katriel <[email protected]> Co-authored-by: Adam Turner <[email protected]>
danigm pushed a commit to openSUSE-Python/cpython that referenced this pull request Oct 7, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip issueskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants

@ncoghlan@iritkatriel@AA-Turner