[issue25814] Propagate all errors from ElementTree.iterparse

2015-12-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue25814] Propagate all errors from ElementTree.iterparse

2015-12-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2df330606cd0 by Serhiy Storchaka in branch '3.4': Issue25814: Propagate all errors from custom XML parser handlers https://hg.python.org/cpython/rev/2df330606cd0 New changeset de9ef294a3ef by Serhiy Storchaka in branch '2.7': Issue25814: Propagate a

[issue25814] Propagate all errors from ElementTree.iterparse

2015-12-06 Thread Martin Panter
Martin Panter added the comment: The patch looks good as far as I can tell. I left a question about an inconsistency with checking for a null pointer. -- nosy: +martin.panter ___ Python tracker ___

[issue25814] Propagate all errors from ElementTree.iterparse

2015-12-06 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Some memory errors raised in handlers during XML parsing are explicitly or implicitly propagated to the caller of XMLParser methods feed(), close(), and _parse_whole(). But others are silenced with PyErr_Clear() with added comments "FIXME: propagate error"