[lxml-dev] Converting an objectified lxml tree to a standard etree one.
jholg at gmx.de
jholg at gmx.de
Tue Jun 23 09:33:41 CEST 2009
Hi,
> [ snipped for length ]
> > Hmm, yes, that looks weird. It works with lxml.etree, but not with
> > lxml.objectify. Could you please file a bug report on this?
This seems to be the villain:
>>> for (name, obj) in objectify.__dict__.items():
... if hasattr(obj, '__bases__'):
... try:
... i = iter(getattr(obj, '__bases__'))
... except:
... print name, obj, getattr(obj, '__bases__')
...
E <lxml.objectify.ElementMaker object at 0x3c5670> <lxml.objectify._ObjectifyElementMakerCaller object at 0x451120>
>>>
Holger
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
More information about the lxml-dev
mailing list