[issue19483] Pure-Python ElementTree classes no longer available since 3.3

R. David Murray report at bugs.python.org
Sun Nov 3 17:26:38 CET 2013


R. David Murray added the comment:

It is there so that Python implementations (other than cPython) that do not have ElementTree accelerator modules can fall back on the pure python version.

You can import the pure python version in cPython by blocking the import of the C accelerator:

   import sys
   sys.modules['_elementtree'] = None
   import xml.etree.ElementTree

I'll leave this open to see what the xml experts think about the custom parser idea.

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list