[lxml-dev] Resolvers and open files

Stefan Behnel behnel_ml at gkec.informatik.tu-darmstadt.de
Wed Oct 25 09:49:36 CEST 2006


Hi Sidnei,

Sidnei da Silva wrote:
> I have a long-running process that uses a custom resolver to resolve a
> simple filename to a file relative to a pre-configured directory.
> Now, the issue that's biting me is that it looks like the file is kept
> open after the processing has finished.

Right, the resolver context that stores the temporary references was not
cleaned up after use.

Should be fixed on the trunk now. Please test it with your setup.

Stefan


More information about the lxml-dev mailing list