-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-125761: Clarify repeated warning suppression criteria in warnings module #126326
Conversation
@ncoghlan Would you like to take a look at this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thank you!
Thanks @byungchanKo99 for the PR, and @ncoghlan for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…nings module (pythongh-126326) (cherry picked from commit 10eeec2) Co-authored-by: 고병찬 <[email protected]>
…nings module (pythongh-126326) (cherry picked from commit 10eeec2) Co-authored-by: 고병찬 <[email protected]>
GH-126330 is a backport of this pull request to the 3.13 branch. |
GH-126331 is a backport of this pull request to the 3.12 branch. |
warnings.simplefilter("once")
andwarnings.warn()
print all occurrences of matching warnings, regardless of location #125761📚 Documentation preview 📚: https://cpython-previews--126326.org.readthedocs.build/