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

Ezio Melotti report at bugs.python.org
Thu Feb 16 14:04:26 CET 2012


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

I'm still not sure that's the best option.  Without deprecation people will keep using cElementTree and we will have to keep it around forever (or at least until Python4 and then have a 3to4 to fix the import).
This might be fine, but as a developer I would still like Python to tell me "You can just import ElementTree now, there's no need to use cElementTree".  Maybe the deprecation can be added to 3.4?

P.S. I'm fine with keeping it around for several more versions, but if we eventually have to remove it, we would still have to warn the users beforehand.  The more we wait, the more users will be still using cElementTree by the time we will actually remove it.

----------

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


More information about the Python-bugs-list mailing list