SIGN IN SIGN UP

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

gh-119577: Adjust DeprecationWarning when testing element truth values in ElementTree (GH-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 6b606522ca97488aad6fe2f193d4511e7a8f8334)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
M
Miss Islington (bot) committed
56a7e0483436d1ebd2af97c02defe0e67c4bb495
Parent: d4566c0
Committed by GitHub <noreply@github.com> on 6/7/2024, 3:43:17 AM