[lxml-dev] etree.clear_error_log() causes segfaults

Stefan Behnel stefan_ml at behnel.de
Sat Feb 7 22:17:41 CET 2009



Christian Heimes wrote:
> I guess it was a relict from the time lxml.etree didn't clear the local
> error log when an XSLT document was called.

I think you are referring to the error log on XSLT objects, which is
actually local to the object and cleared before each transformation. (A
copy of) the global error log is attached to exceptions, so you will notice
the difference when you do multiple transformations and one of the later
ones raises an exception.

I guess there might still be space left for improvements...

Stefan


More information about the lxml-dev mailing list