➜

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.

作者 vstinner
收信人 fdrake, vstinner
日期 2013-08-13.23:58:20
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1376438300.88.0.235284556503.issue18733@psf.upfronthosting.co.za>
In-reply-to
内容
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).
历史
日期 用户 动作 参数
2013-08-13 23:58:20vstinner修改recipients: + vstinner, fdrake
2013-08-13 23:58:20vstinner修改messageid: <1376438300.88.0.235284556503.issue18733@psf.upfronthosting.co.za>
2013-08-13 23:58:20vstinner链接issue18733 messages
2013-08-13 23:58:20vstinner创建