ElementTree.XML(string XML) and ElementTree.fromstring(string XML) not working

Carl Banks pavlovevidence at gmail.com
Fri Jun 26 10:53:33 CEST 2009


On Jun 25, 11:20 pm, Stefan Behnel <stefan... at behnel.de> wrote:
> Carl Banks wrote:
> > On Jun 25, 10:11 pm, Stefan Behnel wrote:
> >> Carl Banks wrote:
> >>>> Why isn't et.parse the only way to do this? Why have XML or fromstring  
> >>>> at all?
> >>> Because Fredrick Lundh wanted it that way.  Unlike most Python
> >>> libraries ElementTree is under the control of one person, which means
> >>> it was not designed or vetted by the community, which means it would
> >>> tend to have some interface quirks.
> >> Just for the record: Fredrik doesn't actually consider it a design "quirk".
>
> > Well of course he wouldn't--it's his library.
>
> That's not an argument at all.

I can't even imagine what you think I was arguing when I wrote this,
or what issue you could have with this statement.


Carl Banks




More information about the Python-list mailing list