Message339533
The proposed PR removes old-deprecated ElementTree features.
* Methods Element.getchildren(), Element.getiterator() and ElementTree.getiterator() deprecated in 2.7 and 3.2. They were deprecated in the documentation only, and started to emit a warning in 3.8. Use list(elem) or iteration instead of getchildren(), methods iter() instead of getiterator().
* The xml.etree.cElementTree module deprecated in 3.3. It was deprecated documentation only because adding a runtime warning will cause more harm than removing it because of the common idiom of using it since Python 2:
try:
import xml.etree.cElementTree as ET
except ImportError:
import xml.etree.ElementTree as ET
TODO: Add a What's New entry after the start of developing 3.9. |
|
Date |
User |
Action |
Args |
2019-04-06 16:06:22 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, scoder, eli.bendersky |
2019-04-06 16:06:22 | serhiy.storchaka | set | messageid: <1554566782.39.0.176680363975.issue36543@roundup.psfhosted.org> |
2019-04-06 16:06:22 | serhiy.storchaka | link | issue36543 messages |
2019-04-06 16:06:22 | serhiy.storchaka | create | |
|