changeset: 89576:31e6adf5bfba user: R David Murray date: Mon Mar 10 18:09:54 2014 -0400 files: Doc/library/xml.etree.elementtree.rst Doc/whatsnew/3.4.rst description: whatsnew: deprecation of ElementTree XMLParser *html* and iterparse *parser*. #17741 diff -r e6d862886e5c -r 31e6adf5bfba Doc/library/xml.etree.elementtree.rst --- a/Doc/library/xml.etree.elementtree.rst Mon Mar 10 17:06:00 2014 -0400 +++ b/Doc/library/xml.etree.elementtree.rst Mon Mar 10 18:09:54 2014 -0400 @@ -952,7 +952,8 @@ specified in the XML file. .. deprecated:: 3.4 - The *html* argument. + The *html* argument. The remaining arguments should be passed via + keywword to prepare for the removal of the *html* argument. .. method:: close() diff -r e6d862886e5c -r 31e6adf5bfba Doc/whatsnew/3.4.rst --- a/Doc/whatsnew/3.4.rst Mon Mar 10 17:06:00 2014 -0400 +++ b/Doc/whatsnew/3.4.rst Mon Mar 10 18:09:54 2014 -0400 @@ -2057,6 +2057,11 @@ appropriate uses of :class:`io.TextIOWrapper` (if needed) and its *newline* argument. +* The *parser* argument of :func:`~xml.etree.ElementTree.iterparse` has + been deprecated, as has the *html* argument of + :func:`~xml.etree.ElementTree.XMLParser`. To prepare for the removal of the + latter, all arguments to ``XMLParser`` should be passed by keyword. + Deprecations in the C API -------------------------