[New-bugs-announce] [issue17988] ElementTree.Element != ElementTree._ElementInterface
Jakub Wilk
report at bugs.python.org
Thu May 16 00:39:43 CEST 2013
New submission from Jakub Wilk:
The xml.etree.ElementTree module provides _Element and _ElementInterface as compatibility aliases for Element. However, in Python 3.3 if the _elementtree module is importable, these classes are not identical: Element is a C implementation, and _Element/_ElementInterface is a Python implementation.
$ python3.2 test-elementinterface.py
141477524
141477524
141477524
$ python3.3 test-elementinterface.py
137248544
4144597188
4144597188
----------
components: Library (Lib)
files: test-elementinterface.py
messages: 189319
nosy: jwilk
priority: normal
severity: normal
status: open
title: ElementTree.Element != ElementTree._ElementInterface
versions: Python 3.3
Added file: http://bugs.python.org/file30270/test-elementinterface.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17988>
_______________________________________
More information about the New-bugs-announce
mailing list