[lxml-dev] XSLT and threading

Stefan Behnel stefan_ml at behnel.de
Wed Jul 23 21:23:21 CEST 2008


Hi,

eric casteleijn wrote:
> well I'm just very glad we (for very 'you' values of 'we') are
> getting closer, since hunting for it by myself nearly drove me to drink.

Here's a simplified test script that reliably crashes for me each time I run
it. The problem appears to be parsing the stylesheet in a thread and then use
it in another thread. So one way to work around this (for now) is to parse all
stylesheets in the main thread.

I'm working on it, but libxslt is really nasty when it comes to tag
dictionaries...

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_xslt-crash.py
Type: text/x-python
Size: 686 bytes
Desc: not available
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20080723/acef82fc/attachment.py 


More information about the lxml-dev mailing list