Mike Meyer <m...@mired.org> wrote: > On Fri, 09 Dec 2011 09:02:35 +0100 > Stefan Behnel <stefan...@behnel.de> wrote: > > > a) The stdlib documentation should help users to choose the right > > tool right from the start. > > b) cElementTree should finally loose it's "special" status as a > > separate library and disappear as an accelerator module behind > > ElementTree. > > +1 and +1. > > I've done a lot of xml work in Python, and unless you've got a > particular reason for wanting to use the dom, ElementTree is the only > sane way to go.
I use ElementTree for parsing valid XML, but minidom for producing it. I think another thing that might go into "refreshing the batteries" is a feature comparison of BeautifulSoup and HTML5lib against the stdlib competition, to see what needs to be added/revised. Having to switch to an outside package for parsing possibly invalid HTML is a pain. Bill _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com