[Python-Dev] elementtree in stdlib (original) (raw)

Bob Ippolito bob at redivi.com
Thu Apr 6 06:49:28 CEST 2006


On Apr 5, 2006, at 9:02 PM, Alex Martelli wrote:

On Apr 5, 2006, at 8:30 PM, Greg Ewing wrote:

A while ago there was some discussion about including elementtree in the std lib. I can't remember what the conclusion about that was, but if it does go ahead, I'd like to suggest that it be reorganised a bit.

I've just started playing with it, and having a package called elementtree containing a module called ElementTree containing a class called ElementTree is just too confusing for words! Try the 2.5 alpha 1 just released, and you'll see that the toplevel package is now xml.etree. The module and class are still called ElementTree, though.

It would be nice to have new code be PEP 8 compliant..

Specifically: Modules should have short, lowercase names, without underscores.

-bob



More information about the Python-Dev mailing list