[lxml-dev] ERESTARTNOHAND error (solved)
Frédéric Mantegazza
mantegazza at ill.fr
Fri Aug 31 13:26:11 CEST 2007
Le vendredi 31 août 2007 11:31, Stefan Behnel a écrit :
> The problem is not how many threads there are but where you create an
> XSLT object and where you use it. Try creating it in the thread where you
> use it.
Ok, I got it! I was retreiving my filters from a FilterManager using a get()
method, which was returning a deepcopy of the filters, which does not work.
It is not surprising, as lxml is written in C (pyrex): I think pointers and
other references where lost in the operation.
BTW, my XSLT objects are created in a thread, and used in another, but it
does not seems to be a problem.
Stefan, thanks your very much for the usefull suggestions :o)
--
Frédéric
More information about the lxml-dev
mailing list