Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9ea2a630
Commit
9ea2a630
authored
Mar 10, 2014
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whatsnew: deprecation of ElementTree XMLParser *html* and iterparse *parser*.
#17741
parent
30781e93
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Doc/library/xml.etree.elementtree.rst
Doc/library/xml.etree.elementtree.rst
+2
-1
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+5
-0
No files found.
Doc/library/xml.etree.elementtree.rst
View file @
9ea2a630
...
...
@@ -952,7 +952,8 @@ XMLParser Objects
specified in the XML file.
.. deprecated:: 3.4
The *html* argument.
The *html* argument. The remaining arguments should be passed via
keywword to prepare for the removal of the *html* argument.
.. method:: close()
...
...
Doc/whatsnew/3.4.rst
View file @
9ea2a630
...
...
@@ -2057,6 +2057,11 @@ Deprecations in the Python API
appropriate uses of :class:`io.TextIOWrapper` (if needed) and its *newline*
argument.
* The *parser* argument of :func:`~xml.etree.ElementTree.iterparse` has
been deprecated, as has the *html* argument of
:func:`~xml.etree.ElementTree.XMLParser`. To prepare for the removal of the
latter, all arguments to ``XMLParser`` should be passed by keyword.
Deprecations in the C API
-------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment