X Tutup
Skip to content

[3.12] gh-119577: Adjust DeprecationWarning when testing element truth values in Element tree (GH-119762)#120190

Merged
Yhg1s merged 2 commits intopython:3.12from
gpshead:backport-3.12-gh119577
Aug 6, 2024
Merged

[3.12] gh-119577: Adjust DeprecationWarning when testing element truth values in Element tree (GH-119762)#120190
Yhg1s merged 2 commits intopython:3.12from
gpshead:backport-3.12-gh119577

Conversation

@gpshead
Copy link
Member

@gpshead gpshead 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.


📚 Documentation preview 📚: https://cpython-previews--120190.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.
@Yhg1s Yhg1s enabled auto-merge (squash) August 6, 2024 17:03
@Yhg1s Yhg1s merged commit b317641 into python:3.12 Aug 6, 2024
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

X Tutup