Stefan Behnel <stefan...@behnel.de> added the comment:

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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35729>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to