Upgrade pyexpat to expat 2.0.0 (http://python.org/sf/1462338).
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
index a75912d..b468e71 100644
--- a/Modules/_elementtree.c
+++ b/Modules/_elementtree.c
@@ -1989,7 +1989,7 @@
Py_XDECREF(res);
} else {
PyErr_Format(
- PyExc_SyntaxError, "undefined entity &%s;: line %d, column %d",
+ PyExc_SyntaxError, "undefined entity &%s;: line %ld, column %ld",
PyString_AS_STRING(key),
EXPAT(GetErrorLineNumber)(self->parser),
EXPAT(GetErrorColumnNumber)(self->parser)
@@ -2350,7 +2350,7 @@
if (!ok) {
PyErr_Format(
- PyExc_SyntaxError, "%s: line %d, column %d",
+ PyExc_SyntaxError, "%s: line %ld, column %ld",
EXPAT(ErrorString)(EXPAT(GetErrorCode)(self->parser)),
EXPAT(GetErrorLineNumber)(self->parser),
EXPAT(GetErrorColumnNumber)(self->parser)