[issue36673] Comment/PI parsing support for ElementTree

2019-05-01 Thread Stefan Behnel
Change by Stefan Behnel : -- pull_requests: -12811 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36673] Comment/PI parsing support for ElementTree

2019-05-01 Thread Stefan Behnel
Change by Stefan Behnel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36673] Comment/PI parsing support for ElementTree

2019-05-01 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset 43851a202cabce1e6be699e7177735c778b6697e by Stefan Behnel in branch 'master': bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ElementTree. (#12883) https://github.com/python/cpython/commit/43851a202cabce1e6be699e7177735c77

[issue36673] Comment/PI parsing support for ElementTree

2019-04-20 Thread Stefan Behnel
Change by Stefan Behnel : -- pull_requests: +12811 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue36673] Comment/PI parsing support for ElementTree

2019-04-20 Thread Stefan Behnel
Change by Stefan Behnel : -- nosy: +eli.bendersky, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue36673] Comment/PI parsing support for ElementTree

2019-04-20 Thread Stefan Behnel
Change by Stefan Behnel : -- keywords: +patch pull_requests: +12808 stage: needs patch -> patch review ___ Python tracker ___ ___ Py

[issue36673] Comment/PI parsing support for ElementTree

2019-04-20 Thread Stefan Behnel
Stefan Behnel added the comment: This is related to issue9521 but not a strict duplicate, because fixing that would require actually adding comments and PIs to the tree when they are not within the root element. When they are, it's in line with the current tree model and this change will do

[issue36673] Comment/PI parsing support for ElementTree

2019-04-20 Thread Stefan Behnel
New submission from Stefan Behnel : 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 ele