[lxml-dev] seg. fault using _Comment

Frédéric Mantegazza mantegazza at ill.fr
Wed Nov 12 08:46:06 CET 2008


Hello,

I'm trying to use comments in my xml file. The goal is to be able to 
enable/disable some entries in a config. file.

Parsing comments works fine; when getting a node, I check if it is a 
_Comment object. If so, I just parse the string contained in the comment.

Now, I would like to do the reverse operation: save some entries as 
comments. But it fails. I instanciate a _Comment object, but as soon as I 
use it, the application crashed with seg. fault.

Is it a known bug? I'm using the 1.1.1 version. Let me know if it can be 
solved by upgrading.

Thanks,

-- 
   Frédéric


More information about the lxml-dev mailing list