[Python-checkins] (no subject)
Miro Hrončok
webhook-mailer at python.org
Fri Mar 27 15:59:07 EDT 2020
To: python-checkins at python.org
Subject: bpo-36543: What's new: Document how to replace xml.etree.cElementTree
(GH-19188)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
https://github.com/python/cpython/commit/6467134307cf01802c9f1c0384d8acbebecb=
d400
commit: 6467134307cf01802c9f1c0384d8acbebecbd400
branch: master
author: Miro Hron=C4=8Dok <miro at hroncok.cz>
committer: GitHub <noreply at github.com>
date: 2020-03-27T21:59:02+02:00
summary:
bpo-36543: What's new: Document how to replace xml.etree.cElementTree (GH-191=
88)
files:
M Doc/whatsnew/3.9.rst
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index a76445b3d8cbb..f58bcbcd3ce4e 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -671,7 +671,11 @@ Removed
module have been removed. They were deprecated in Python 3.2.
Use ``iter(x)`` or ``list(x)`` instead of ``x.getchildren()`` and
``x.iter()`` or ``list(x.iter())`` instead of ``x.getiterator()``.
- The ``xml.etree.cElementTree`` module has been removed.
+ The ``xml.etree.cElementTree`` module has been removed,
+ use the :mod:`xml.etree.ElementTree` module instead.
+ Since Python 3.3 the ``xml.etree.cElementTree`` module has been deprecated,
+ the ``xml.etree.ElementTree`` module uses a fast implementation whenever
+ available.
(Contributed by Serhiy Storchaka in :issue:`36543`.)
=20
* The old :mod:`plistlib` API has been removed, it was deprecated since Pyth=
on
More information about the Python-checkins
mailing list