8000 gh-119577: Raise RuntimeError when testing element truth values in ElementTree by jacobtylerwalls · Pull Request #119578 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

jacobtylerwalls
Copy link
Contributor
@jacobtylerwalls jacobtylerwalls commented May 26, 2024

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
Copy link
Member
gpshead commented May 28, 2024

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
N 4421 one yet
Development

Successfully merging this pull request may close these issues.

2 participants
0