Message189865
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. |
|
| Date |
User |
Action |
Args |
| 2013-05-23 12:48:20 | eli.bendersky | set | recipients:
+ eli.bendersky, terry.reedy, amaury.forgeotdarc, vstinner, ezio.melotti, flox, dongying, serhiy.storchaka |
| 2013-05-23 12:48:20 | eli.bendersky | set | messageid: <[email protected]> |
| 2013-05-23 12:48:20 | eli.bendersky | link | issue13612 messages |
| 2013-05-23 12:48:20 | eli.bendersky | create | |
|