STINNER Victor added the comment:
No reaction from Fred Drake, I don't know how to implement it and I'm no more
interested to optimize this case, so I'm closing the issue.
Reopen it with a patch if you are interested to work on it.
--
resolution: -> wont fix
status: open -> closed
__
New submission from STINNER Victor:
When a Python handler of a XML tag fails, the ElementTree parser continues to
parse the whole document. It would be nice to stop the parser more quickly.
The pyexpat module unregisters all handlers to fail more quickly. ElementTree
may do something similar.