Message195110
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.
Or does the expat library have a function or attribute to stop the XML parser?
See also the issue #18501 (_elementtree.c calls Python callbacks while a Python exception is set). |
|
Date |
User |
Action |
Args |
2013-08-13 23:58:20 | vstinner | set | recipients:
+ vstinner, fdrake |
2013-08-13 23:58:20 | vstinner | set | messageid: <1376438300.88.0.235284556503.issue18733@psf.upfronthosting.co.za> |
2013-08-13 23:58:20 | vstinner | link | issue18733 messages |
2013-08-13 23:58:20 | vstinner | create | |
|