Eli Bendersky <eli...@gmail.com> added the comment:

Another random cleanup idea:

ElementTree.py has this code:

try:
    from . import ElementPath
except ImportError:
    ElementPath = _SimpleElementPath()

Since in the stdlib ElementPath.py is always there, this is meaningless, so I'd 
say this try... except ImportError contraption can be removed, as well as 
_SimpleElementPath, and just replaced by:

from . import ElementPath

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13988>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to