[Python-checkins] cpython: Add description of major changes in xml.etree.ElementTree to whatsnew/3.3
eli.bendersky
python-checkins at python.org
Thu Aug 9 07:21:00 CEST 2012
http://hg.python.org/cpython/rev/2c33c4475e60
changeset: 78473:2c33c4475e60
user: Eli Bendersky <eliben at gmail.com>
date: Thu Aug 09 08:20:20 2012 +0300
summary:
Add description of major changes in xml.etree.ElementTree to whatsnew/3.3
files:
Doc/whatsnew/3.3.rst | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -1602,6 +1602,18 @@
(: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
=============
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list