[issue34600] python3 regression ElementTree.iterparse() unable to capture comments

Stefan Behnel report at bugs.python.org
Tue Sep 11 14:00:57 EDT 2018


Stefan Behnel <stefan_ml at behnel.de> added the comment:

lxml supports "comment" and "pi" as event types in iterparse (or, more specifically, in the XMLPullParser). If someone wants to implement this for (c)ElementTree, I'd be happy to review the PR.

https://lxml.de/api/lxml.etree.XMLPullParser-class.html

----------
type: behavior -> enhancement
versions: +Python 3.8 -Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34600>
_______________________________________


More information about the Python-bugs-list mailing list