Are there any XML parsers for Python that can parse file streams? My XML files are too big to fit in memory, so I need to parse the stream.
Ideally I wouldn’t have to have root access to install things, so lxml is not a very good option.
I have been using xml.etree.ElementTree but I am convinced it is broken.
Use
xml.etree.cElementTree. It’s much faster thanxml.etree.ElementTree. Neither of them are broken. Your files are broken (see my answer to your other question).