diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-07-24 09:03:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 09:03:34 (GMT) |
commit | 02ec92fa7b1dddc23d479ee0b87dc283793505a8 (patch) | |
tree | 4fc90891da617efbc74239d9dc62eef44f3aa5ff /Misc/NEWS.d | |
parent | c5734998d91e9953fd179ba6ed7015b6343e8191 (diff) | |
download | cpython-02ec92fa7b1dddc23d479ee0b87dc283793505a8.zip cpython-02ec92fa7b1dddc23d479ee0b87dc283793505a8.tar.gz cpython-02ec92fa7b1dddc23d479ee0b87dc283793505a8.tar.bz2 |
bpo-29209: Remove old-deprecated features in ElementTree. (GH-6769)
Also make getchildren() and getiterator() emitting
a DeprecationWarning instead of PendingDeprecationWarning.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-05-12-13-06-41.bpo-29209.h5RxYy.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-05-12-13-06-41.bpo-29209.h5RxYy.rst b/Misc/NEWS.d/next/Library/2018-05-12-13-06-41.bpo-29209.h5RxYy.rst new file mode 100644 index 0000000..78d9b0c --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-05-12-13-06-41.bpo-29209.h5RxYy.rst @@ -0,0 +1,6 @@ +Removed the ``doctype()`` method and the *html* parameter of the constructor +of :class:`~xml.etree.ElementTree.XMLParser`. The ``doctype()`` method +defined in a subclass will no longer be called. Deprecated methods +``getchildren()`` and ``getiterator()`` in the :mod:`~xml.etree.ElementTree` +module emit now a :exc:`DeprecationWarning` instead of +:exc:`PendingDeprecationWarning`. |