Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-29204: Emit warnings for already deprecated ElementTree features.#773

Merged
serhiy-storchaka merged 3 commits into
python:masterpython/cpython:masterfrom
serhiy-storchaka:etree-deprecateserhiy-storchaka/cpython:etree-deprecateCopy head branch name to clipboard
Mar 30, 2017
Merged

bpo-29204: Emit warnings for already deprecated ElementTree features.#773
serhiy-storchaka merged 3 commits into
python:masterpython/cpython:masterfrom
serhiy-storchaka:etree-deprecateserhiy-storchaka/cpython:etree-deprecateCopy head branch name to clipboard

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

Element.getiterator() and the html parameter of XMLParser() were
deprecated only in the documentation. Now using them emits a deprecation
warning.

Element.getiterator() and the html parameter of XMLParser() were
deprecated only in the documentation.  Now using them emits a deprecation
warning.
@serhiy-storchaka serhiy-storchaka added the type-feature A feature request or enhancement label Mar 22, 2017
@mention-bot

Copy link
Copy Markdown

@serhiy-storchaka, thanks for your PR! By analyzing the history of the files in this pull request, we identified @benjaminp, @eliben and @florentx to be potential reviewers.

Comment thread Lib/test/test_xml_etree_c.py Outdated
import struct
from test import support
from test.support import import_fresh_module
from test.support import import_fresh_module, check_warnings

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably don’t need check_warnings any more

@serhiy-storchaka serhiy-storchaka merged commit 762ec97 into python:master Mar 30, 2017
@serhiy-storchaka serhiy-storchaka deleted the etree-deprecate branch March 30, 2017 15:12
Carreau added a commit to Carreau/cpython that referenced this pull request May 11, 2018
Warning were added in pythongh-773, but did not contain version since
deprecation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.