]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add description of major changes in xml.etree.ElementTree to whatsnew/3.3
authorEli Bendersky <eliben@gmail.com>
Thu, 9 Aug 2012 05:20:20 +0000 (08:20 +0300)
committerEli Bendersky <eliben@gmail.com>
Thu, 9 Aug 2012 05:20:20 +0000 (08:20 +0300)
Doc/whatsnew/3.3.rst

index ce7a644421eb33e09484fac6aa45404201f488e3..858fce8de4e670651b67712bef9f1f891bd0e9d4 100644 (file)
@@ -1602,6 +1602,18 @@ project and :program:`gvfs-open` which is the default URI handler for GNOME 3.
 (:issue:`13620` and :issue:`14493`)
 
 
+xml.etree.ElementTree
+---------------------
+
+The :mod:`xml.etree.ElementTree` module now imports its C accelerator by
+default; there is no longer a need to explicitly import
+:mod:`xml.etree.cElementTree` (this module stays for backwards compatibility,
+but is now deprecated).  In addition,  the ``iter`` family of methods of
+:class:`~xml.etree.ElementTree.Element` has been optimized (rewritten in C).
+The module's documentation has also been greatly improved with added examples
+and a more detailed reference.
+
+
 Optimizations
 =============