Skip to content

[3.13] gh-119577: Adjust DeprecationWarning when testing element truth values in ElementTree (GH-119762) #120189

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

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 7, 2024

Adjust DeprecationWarning when testing element truth values in ElementTree, we're planning to go with the more natural True return rather than a disruptive harder to code around exception raise, and are deferring the behavior change for a few more releases.
(cherry picked from commit 6b60652)

Co-authored-by: Jacob Walls [email protected]


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

… values in ElementTree (pythonGH-119762)

Adjust DeprecationWarning when testing element truth values in ElementTree, we're planning to go with the more natural True return rather than a disruptive harder to code around exception raise, and are deferring the behavior change for a few more releases.
(cherry picked from commit 6b60652)

Co-authored-by: Jacob Walls <[email protected]>
@gpshead gpshead enabled auto-merge (squash) June 7, 2024 03:19
@gpshead gpshead merged commit 56a7e04 into python:3.13 Jun 7, 2024
36 checks passed
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.

3 participants