xml.etree.cElementTree removed from Python 3.9
See original GitHub issueWith newer versions of Python, xml.etree.ElementTree
should be used directly.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:5 (2 by maintainers)
Top Results From Across the Web
xml.etree.ElementTree — The ElementTree XML API ...
Creates a new element object of the same type as this element. Do not call this method, use the SubElement() factory function instead....
Read more >How to remove a node inside an iterator in python xml.etree ...
You can't remove nodes without knowing the parent, but the xml.etree package doesn't give you any way to access a parent from a...
Read more >elementtree.getchildren function is removed in Python 3.9 #1162
getchildren() Deprecated since version 3.2, will be removed in version 3.9: Use list(elem) or iteration.
Read more >T213814 xml.etree.ElementTree.Element.getchildren() has ...
xml.etree.ElementTree.Element.getchildren() and getiterator() is deprecated since python 2.7 and 3.2 and has been removed in python 3.9.
Read more >Processing XML in Python — ElementTree | by Deepesh Nair
As a data scientist, you'll find that understanding XML is… ... modify and populate XML files with the Python ElementTree package, ... import...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Right. For people trying to make sure their applications are prepared, it’s important that dependencies are compatible. It’s not urgent, because there’s still plenty of time in the schedule, but the sooner dependencies are ready, the better it is for everyone.
For the record, finding this issue also triggered a couple of (small-ish) bugs reported against Python:
@swetashre All you need to do, for now, is and it should keep working in Python 3.9