This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scoder
Recipients scoder
Date 2019-04-20.07:33:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The TreeBuilder in xml.etree.ElementTree ignores comments and processing instructions. It should at least have a way to pass them through, even if there is not currently a way to append comments and PIs to the tree when they appear *outside* of the root element.

The pull parser interface would directly benefit from this, because it can then report "comment" and "pi" events.
Date User Action Args
2019-04-20 07:33:22scodersetrecipients: + scoder
2019-04-20 07:33:22scodersetmessageid: <>
2019-04-20 07:33:22scoderlinkissue36673 messages
2019-04-20 07:33:22scodercreate