FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-119577: Adjust DeprecationWarning when testing element truth values in ElementTree (GH-119762) by miss-islington · Pull Request #120189 · python/cpython · GitHub

Repository navigation

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

Merged
gpshead merged 1 commit into
python:3.13from
miss-islington:backport-6b60652-3.13
Jun 7, 2024
Merged

gpshead merged 1 commit into
python:3.13from
miss-islington:backport-6b60652-3.13

Conversation

miss-islington commented Jun 7, 2024 •
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

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 jacobtylerwalls@gmail.com


📚 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 <jacobtylerwalls@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL