Skip to content

Conversation

ncoghlan
Copy link
Contributor

@ncoghlan ncoghlan 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.
@ncoghlan ncoghlan requested a review from iritkatriel October 6, 2025 13:38
@ncoghlan ncoghlan requested a review from AA-Turner as a code owner October 6, 2025 13:38
@ncoghlan ncoghlan added docs Documentation in the Doc dir skip issue skip news labels Oct 6, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Oct 6, 2025
@ncoghlan ncoghlan 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-Turner AA-Turner removed 3.14 bugs and security fixes 3.15 new features, bugs and security fixes labels Oct 6, 2025
@AA-Turner AA-Turner merged commit 3311580 into python:main Oct 6, 2025
31 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Oct 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

bedevere-app bot commented Oct 6, 2025

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

@bedevere-app 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
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