[lxml-dev] Test failures on Windows

Sidnei da Silva sidnei at awkly.org
Sun Oct 29 02:17:41 CET 2006


On Sun, Oct 29, 2006 at 12:05:40AM +0200, Stefan Behnel wrote:
| No, I also tried initialising spaceTab by hand to always call reset(). No
| difference. So this is definitely not the problem. And it really makes me
| wonder how your patch can work if xmlClearParserCtxt() does not, because your
| code snippet is straight in there and I can't see a way it should not get
| executed if clear() is called.
| 
| AFAICT, with the call to clear(), all input streams and memory resources
| should get freed after parsing, so that's all I wanted. And still the problem
| of a file descriptor staying open remains. I'll wait for the next buildbot run
| to see, but if that fails, I'll really get clueless...

FWIW, I reverted my patch and did a svn up, and your changes seem to
work here. No segfault or anything. The buildbot seems to be in some
funny state now, maybe due to some checkin on Python 2.5/trunk.

-- 
-e Sidnei da Silva
-e Enfold Systems                http://enfoldsystems.com
-e Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


More information about the lxml-dev mailing list