homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:20vstinnersetrecipients: + vstinner, fdrake
2013年08月13日 23:58:20vstinnersetmessageid: <1376438300.88.0.235284556503.issue18733@psf.upfronthosting.co.za>
2013年08月13日 23:58:20vstinnerlinkissue18733 messages
2013年08月13日 23:58:20vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /