summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2019-05-01 19:20:38 (GMT)
committerGitHub <noreply@github.com>2019-05-01 19:20:38 (GMT)
commit43851a202cabce1e6be699e7177735c778b6697e (patch)
treeb517d3f81642bf531c8876522d7fabf55b9155c2 /Misc
parent3d37ea25dc97e4cb024045581979570835deb13c (diff)
downloadcpython-43851a202cabce1e6be699e7177735c778b6697e.zip
cpython-43851a202cabce1e6be699e7177735c778b6697e.tar.gz
cpython-43851a202cabce1e6be699e7177735c778b6697e.tar.bz2
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).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-04-20-09-50-32.bpo-36673.XF4Egb.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-04-20-09-50-32.bpo-36673.XF4Egb.rst b/Misc/NEWS.d/next/Library/2019-04-20-09-50-32.bpo-36673.XF4Egb.rst
new file mode 100644
index 0000000..76bf914
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-04-20-09-50-32.bpo-36673.XF4Egb.rst
@@ -0,0 +1,3 @@
+The TreeBuilder and XMLPullParser in xml.etree.ElementTree gained support
+for parsing comments and processing instructions.
+Patch by Stefan Behnel.