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

[3.12] gh-119577: Adjust DeprecationWarning when testing element truth values in Element tree (GH-119762) by gpshead · Pull Request #120190 · python/cpython · GitHub

Repository navigation

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

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

Yhg1s merged 2 commits into
python:3.12from
gpshead:backport-3.12-gh119577

Conversation

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

Copy link
Copy Markdown
Member

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 enabled auto-merge (squash) August 6, 2024 17:03
Yhg1s merged commit b317641 into python:3.12 Aug 6, 2024
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