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 Igor Nowicki, eli.bendersky, scoder, serhiy.storchaka
Date 2019-01-13.09:12:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547370759.29.0.359671165844.issue35729@roundup.psfhosted.org>
In-reply-to
Content
This is not a bug, it's normal, documented behaviour. The children are not guaranteed to be available during the "start" event. Only the tag itself is guaranteed to be there. The guarantee that the subtree is complete is only given for the "end" event.

See the big note in the documentation:
https://docs.python.org/3/library/xml.etree.elementtree.html#xml.etree.ElementTree.iterparse
History
Date User Action Args
2019-01-13 09:12:40scodersetrecipients: + scoder, eli.bendersky, serhiy.storchaka, Igor Nowicki
2019-01-13 09:12:39scodersetmessageid: <1547370759.29.0.359671165844.issue35729@roundup.psfhosted.org>
2019-01-13 09:12:39scoderlinkissue35729 messages
2019-01-13 09:12:39scodercreate