[issue18733] elementtree: stop the parser more quickly on error

2013-12-16 Thread STINNER Victor
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 __

[issue18733] elementtree: stop the parser more quickly on error

2013-08-13 Thread STINNER Victor
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.