Content-Length: 295016 | pFad | https://github.com/python/cpython/pull/119578

37 gh-119577: Raise RuntimeError when testing element truth values in ElementTree by jacobtylerwalls · Pull Request #119578 · python/cpython · GitHub
Skip to content

gh-119577: Raise RuntimeError when testing element truth values in ElementTree#119578

Closed
jacobtylerwalls wants to merge 2 commits into
python:mainfrom
jacobtylerwalls:remove-etree-bool
Closed

gh-119577: Raise RuntimeError when testing element truth values in ElementTree#119578
jacobtylerwalls wants to merge 2 commits into
python:mainfrom
jacobtylerwalls:remove-etree-bool

Conversation

@jacobtylerwalls

@jacobtylerwalls jacobtylerwalls commented May 26, 2024

Copy link
Copy Markdown
Contributor

Raise RuntimeError for this ambiguous behavior, as announced in Python 3.12 by a deprecation warning.


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

@gpshead

gpshead commented May 28, 2024

Copy link
Copy Markdown
Member

Per #119577 (comment) lets be conservative and not do it this way and wait until 3.16 for a different change.

@gpshead gpshead closed this May 28, 2024
@jacobtylerwalls jacobtylerwalls deleted the remove-etree-bool branch May 28, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/119578

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy