[Python-Dev] elementtree in stdlib

Martin Blais blais at furius.ca
Fri Apr 7 16:28:59 CEST 2006


On 4/6/06, Fredrik Lundh <fredrik at pythonware.com> wrote:
> Bob Ippolito wrote:
>
> > > 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..
>
> it's not new code, and having *different* module names for the same
> well-established library isn't very nice to anyone.

(It's not new code, but it is new code to the stdlib.)

How about doing a rename but creating some kind of alias for the
current names?  That would serve everyone.  (I also find the current
naming to be unfortunate and stumble over it every time.)


More information about the Python-Dev mailing list