Daniel Veillard schrieb: >>What mechanism in libxslt does make the callback? Is that Python code, >>or code implemented in libxslt itself? > > > In libxslt as I posted but that can be overriden. That probably explains the deadlock: I assume libxslt is holding the GIL when that happens? Regards, Martin