[lxml-dev] 2.0 ElementTree 1.3 compat: getiterator
jholg at gmx.de
jholg at gmx.de
Wed Oct 24 15:07:33 CEST 2007
FWIW I just took a quick look at ElementTree 1.3alpha, and:
# compatibility (FIXME: preserve list behaviour too? see below)
getiterator = iter
getiterator() is (currently) an iterator (generator), just as it was in lxml pre-2.0. I remember some discussion on this list with regard to that.
I for one think it counter-intuitive for getiterator() to return a list, so I think lxml got that right in the first place.
Holger
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
More information about the lxml-dev
mailing list