]> git.pld-linux.org Git - packages/libxml2.git/blobdiff - libxml2-python3-unicode-errors.patch
up to 2.11.0
[packages/libxml2.git] / libxml2-python3-unicode-errors.patch
index e87dcdedf88ced34b3a75323d1b8c9698cc5edce..61cc4b61f729edb1112b02e30d5ce52fda3f079c 100644 (file)
@@ -26,7 +26,7 @@ Index: libxml2-2.9.5/python/libxml.c
 -        message = libxml_charPtrConstWrap(str);
 +        message = libxml_charPtrConstWrap(ptr);
          PyTuple_SetItem(list, 1, message);
-         result = PyEval_CallObject(libxml_xmlPythonErrorFuncHandler, list);
+         result = PyObject_CallObject(libxml_xmlPythonErrorFuncHandler, list);
 +        /* Forget any errors caused in the error handler. */
 +        PyErr_Clear();
          Py_XDECREF(list);
This page took 0.110383 seconds and 4 git commands to generate.