[lxml-dev] seg. fault using _Comment

Frédéric Mantegazza mantegazza at ill.fr
Wed Nov 12 09:34:35 CET 2008


Le mercredi 12 novembre 2008 09:27, Stefan Behnel a écrit :

> I'd rather check for "el.tag is etree.Comment". "_Comment" starts with an
> underscore, which makes it a non-public class.

Oups, I didn't see the Comment factory: sorry for the noise :o/

> Use the Comment factory.

Ok, it works fine.

Thanks :o)

-- 
   Frédéric


More information about the lxml-dev mailing list