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 eli.bendersky
Recipients amaury.forgeotdarc, dongying, eli.bendersky, ezio.melotti, flox, serhiy.storchaka, terry.reedy, vstinner
Date 2013-05-23.12:48:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369313300.75.0.018359121.issue13612@psf.upfronthosting.co.za>
In-reply-to
Content
How about this patch (not tested it too much - just as a proof of concept).

We're pretty free in the C API exported by pyexpat through a capsule to _elementtree, so we can also add a default handler there. This API already has some general utilities like ErrorString.

ET can then simply call the handler from pyexpat.
History
Date User Action Args
2013-05-23 12:48:20eli.benderskysetrecipients: + eli.bendersky, terry.reedy, amaury.forgeotdarc, vstinner, ezio.melotti, flox, dongying, serhiy.storchaka
2013-05-23 12:48:20eli.benderskysetmessageid: <1369313300.75.0.018359121.issue13612@psf.upfronthosting.co.za>
2013-05-23 12:48:20eli.benderskylinkissue13612 messages
2013-05-23 12:48:20eli.benderskycreate