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

Eli Bendersky report at bugs.python.org
Tue Feb 14 04:56:59 CET 2012


Eli Bendersky <eliben at gmail.com> added the comment:

I started going over the deprecated methods in ElementTree and ran into a more serious problem. XmlParser.doctype() is listed as deprecated, and indeed ElementTree (the Python version) issues a deprecation warning. However, the C implementation doesn't have doctype() at all so I get AttributeError.

----------

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


More information about the Python-bugs-list mailing list