[issue30507] Elements reports it is a list on Element.remove

2017-05-31 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: Thanks for the feedback, Raymond. I'll try to shift my focus on more pressing issues. (Closing as rejected) -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue30507] Elements reports it is a list on Element.remove

2017-05-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: > The message, imo, is confusing Sorry, I think this is an invented issue and not a actual problem. ElementTree has been in the wild for a very long time. AFAICT, no user has ever had an actual issue with this error message. I've taught ElementTree

[issue30507] Elements reports it is a list on Element.remove

2017-05-29 Thread Jim Fasarakis-Hilliard
Changes by Jim Fasarakis-Hilliard : -- nosy: +eli.bendersky, scoder ___ Python tracker ___

[issue30507] Elements reports it is a list on Element.remove

2017-05-29 Thread Jim Fasarakis-Hilliard
New submission from Jim Fasarakis-Hilliard: Another splinter issue from issue13349. Currently, Element reports it's a list when remove is called on it: from xml.etree.ElementTree import Element Element('').remove(Element('')) ValueError: list.remove(x): x not in list >From what