Message195110
| Author |
vstinner |
| Recipients |
fdrake, vstinner |
| Date |
2013年08月13日.23:58:20 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1376438300.88.0.235284556503.issue18733@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|
History
|
|---|
| 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 |
|