Hi,
this fix actually broke lxml for me. We are using lxml in multiple threads. Unfortunately, unlike the libxml2 version (xmlSetGenericErrorFunc), the libxslt version (xsltSetGenericErrorFunc) is not thread safe, but is a global. So it cannot be safely used in multithreaded scenarios. Unless it is fixed in libxslt, the best thing to do in lxml is I think to make a build switch that would turn xsltSetGenericErrorFunc off.
Hi, rrorFunc) , the libxslt version (xsltSetGeneric ErrorFunc) is not thread safe, but is a global. So it cannot be safely used in multithreaded scenarios. Unless it is fixed in libxslt, the best thing to do in lxml is I think to make a build switch that would turn xsltSetGenericE rrorFunc off.
this fix actually broke lxml for me. We are using lxml in multiple threads. Unfortunately, unlike the libxml2 version (xmlSetGenericE