[lxml-dev] Failure to Compile on Windows

Sidnei da Silva sidnei at enfoldsystems.com
Wed Oct 25 15:33:03 CEST 2006


On Sat, Oct 21, 2006 at 10:14:56PM +0200, Stefan Behnel wrote:
| Thanks. That wasn't the greatest code anyway, so thanks for pointing me at it.
| I couldn't reproduce the bug and didn't find anything suspicious under
| valgrind, so I just committed a cleaned up version of some code parts that may
| have lead to the problem and I hope that changes the refcount behaviour also.
| 
| Could you retry with the current trunk version?

Great! That seems to have fixed it. I do not get the refcount problem
anymore. There are a couple failing tests, mainly due to calling
os.remove() on an open file (that does not work on Windows).

Ex:

 >>> f = open('/src/test.bat')
 >>> os.remove('/src/test.bat')
 Traceback (most recent call last):
   File "<stdin>", line 1, in ?
 OSError: [Errno 13] Permission denied: '/src/test.bat'

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


More information about the lxml-dev mailing list