]> granicus.if.org Git - python/commit
bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ElementTree...
authorStefan Behnel <stefan_ml@behnel.de>
Wed, 1 May 2019 19:20:38 +0000 (21:20 +0200)
committerGitHub <noreply@github.com>
Wed, 1 May 2019 19:20:38 +0000 (21:20 +0200)
commit43851a202cabce1e6be699e7177735c778b6697e
treeb517d3f81642bf531c8876522d7fabf55b9155c2
parent3d37ea25dc97e4cb024045581979570835deb13c
bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ElementTree. (#12883)

* bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ElementTree.

* bpo-36673: Rewrite the comment/PI factory handling for the TreeBuilder in "_elementtree" to make it use the same factories as the ElementTree module, and to make it explicit when the comments/PIs are inserted into the tree and when they are not (which is the default).
Doc/library/xml.etree.elementtree.rst
Lib/test/test_xml_etree.py
Lib/xml/etree/ElementTree.py
Misc/NEWS.d/next/Library/2019-04-20-09-50-32.bpo-36673.XF4Egb.rst [new file with mode: 0644]
Modules/_elementtree.c
Modules/clinic/_elementtree.c.h