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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17988>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to