list-like behaviour of etree.Element

Terry Reedy tjreedy at
Mon Mar 5 04:46:24 CET 2007

"Daniel Nogradi" <nogradi at> wrote in message 
news:5f56302b0703041248k1d2b3d85g1cf9954eed475c22 at
| The etree.Element (or ElementTree.Element) supports a number of
| list-like methods: append, insert, remove. Any special reason why it
| doesn't support pop and extend (and maybe count)?

I think you should turn the question around: why should such be added?
I imagine that the author wrote the methods he and his users thought 
Anything more has various costs.


More information about the Python-list mailing list