[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

Florent Xicluna report at bugs.python.org
Sat Feb 11 11:39:17 CET 2012


Florent Xicluna <florent.xicluna at gmail.com> added the comment:

I've pushed this first part, which is just a code refactoring.

I tried to work out a patch for the second part.
The tricky thing is because of xml.etree still using doctests.
The patch for the tests seems to be enough small and readable.

We have small differences between C and Python, about the warnings beeing raised. In general the C implementation do not raise the deprecation warnings. IMHO, this could be fixed later.

Still missing is the patch for the documentation.

----------
Added file: http://bugs.python.org/file24486/issue13988_fold_cET_behind_ET.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13988>
_______________________________________


More information about the Python-bugs-list mailing list