* python/types.c: Nic Ferrier found debug statement left in the
XPath conversion code
Daniel
+Wed Feb 22 16:09:10 CET 2006 Daniel Veillard <daniel@veillard.com>
+
+ * python/types.c: Nic Ferrier found debug statement left in the
+ XPath conversion code
+
Tue Feb 21 20:21:07 CET 2006 Daniel Veillard <daniel@veillard.com>
* doc/xsltproc.1 doc/xsltproc.xml: new update from Daniel Leidert
case XPATH_RANGE:
case XPATH_LOCATIONSET:
default:
+#ifdef DEBUG
printf("Unable to convert XPath object type %d\n", obj->type);
+#endif
Py_INCREF(Py_None);
ret = Py_None;
}
cur = NULL;
if (PyCObject_Check(node)) {
+#ifdef DEBUG
printf("Got a CObject\n");
+#endif
cur = PyxmlNode_Get(node);
} else if (PyInstance_Check(node)) {
PyInstanceObject *inst = (PyInstanceObject *) node;
}
}
} else {
+#ifdef DEBUG
printf("Unknown object in Python return list\n");
+#endif
}
if (cur != NULL) {
xmlXPathNodeSetAdd(set, cur);
}
ret = xmlXPathWrapNodeSet(set);
} else {
+#ifdef DEBUG
printf("Unable to convert Python Object to XPath");
+#endif
}
Py_DECREF(obj);
return (ret);