[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree
Stefan Behnel
report at bugs.python.org
Fri Feb 10 16:37:17 CET 2012
Stefan Behnel <scoder at users.sourceforge.net> added the comment:
Eli Bendersky, 10.02.2012 15:52:
> * The current contents of xml/etree/ElementTree.py will move to xml/etree/pyElementTree.py
IIRC, there is a well specified way how accelerator modules should be used
by Python modules. I recall a lengthy discussion on python-dev (or the py3k
list?) back in the old pre-3.0 days, maybe there's even a PEP?
> * xml/etree/cElementTree.py disappears.
Careful with backwards compatibility here. It's the accelerator module
(_elementtree.so, IIRC) which is to be moved behind ElementTree.py.
I don't see a compelling enough reason to break imports in existing code by
removing the cElementTree module, so we should not do that.
Stefan
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13988>
_______________________________________
More information about the Python-bugs-list
mailing list