[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree
Eli Bendersky
report at bugs.python.org
Sun Feb 12 05:35:56 CET 2012
Eli Bendersky <eliben at gmail.com> added the comment:
Florent,
Just something minor I noticed in the new cElementTree.py:
# Wrapper module for _elementtree
from xml.etree.ElementTree import *
# Not in __all__
from xml.etree.ElementTree import ElementPath, XMLID, register_namespace
The "wrapper" comment should be removed, and possibly replaced with "This module exists for backwards compatibility with releases earlier than 3.3; Please import xml.etree.ElementTree directly"
Also, regarding the names not in __all__. Any good reason for them not to be? Seems like an omission to me.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13988>
_______________________________________
More information about the Python-bugs-list
mailing list