Message208600
For the record: I disagree that this is an enhancement. ElementTree supports PIs as first-class tree elements. They can be added, inspected, removed, and written out when serializing into XML. Only when reading in XML, they are silently dropped. I think this is a bug, no matter how rarely people might stumble upon it in practice.
If there was no support for PIs at all (i.e., they couldn't be created as tree objects) I'd agree with you that this is an enhancement.
Unless there are objections, I'll try to work on a patch that either documents that PIs are lost, or optionally adds them to the tree when parsing (depending on how difficult that turns out to be). |
|
Date |
User |
Action |
Args |
2014-01-21 01:18:51 | nikratio | set | recipients:
+ nikratio, effbot, scoder, mark, eli.bendersky |
2014-01-21 01:18:51 | nikratio | set | messageid: <1390267131.01.0.0190368160824.issue9521@psf.upfronthosting.co.za> |
2014-01-21 01:18:50 | nikratio | link | issue9521 messages |
2014-01-21 01:18:49 | nikratio | create | |
|