Author serhiy.storchaka
Recipients eli.bendersky, ned.deily, scoder, serhiy.storchaka
Date 2017-01-08.17:56:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Proposed patch removes old-deprecated ElementTree features.

* Methods Element.getchildren(), Element.getiterator() and ElementTree.getiterator() deprecated in 2.7 and 3.2.
 Use list(elem) or iteration instead of getchildren(), methods iter() instead of getiterator(). 

* The html argument of XMLParser deprecated in 3.4.
 The rest of arguments are keyword-only now (passing them as keywords was recommended in the documentatin).

* The support of the doctype() method of XMLParser subclasses and its default implementation. Deprecated in 3.2. Define the doctype() method on a custom TreeBuilder target instead.

* The xml.etree.cElementTree module deprecated in 3.3.

Unfortunately some of these deprecations are in the documentation only or in Python implementatation, but not in C implementatation. Perhaps missed warnings should be added first (see issue29204). But if commit the patch from issue29204 in 3.6, perhaps deprecated features could be removed in 3.7.
Date User Action Args
2017-01-08 17:56:27serhiy.storchakasetrecipients: + serhiy.storchaka, scoder, ned.deily, eli.bendersky
2017-01-08 17:56:25serhiy.storchakasetmessageid: <>
2017-01-08 17:56:24serhiy.storchakalinkissue29209 messages
2017-01-08 17:56:24serhiy.storchakacreate