• Eli Bendersky's avatar
    Replace the iter/itertext methods of Element in _elementtree with true C... · d1ab2651
    Eli Bendersky authored
    Replace the iter/itertext methods of Element in _elementtree with true C implementations, instead of the bootstrapped Python code. In addition to being cleaner (removing the last remains of the bootstrapping code in _elementtree), this gives a 10x performance boost for iter() on large documents.
    Also reorganized the tests a bit to be more robust.
    d1ab2651
test_xml_etree.py 67.4 KB