[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-19 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17988 ___ ___ Python-bugs-list

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 16a03959819a by Eli Bendersky in branch 'default': Issue #17988: remove unused alias for Element and rename the used one http://hg.python.org/cpython/rev/16a03959819a -- nosy: +python-dev ___ Python

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-19 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17988 ___

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-18 Thread Eli Bendersky
Eli Bendersky added the comment: These compatibility names are likely to be remnants from the out-of-tree xml etree implementation before it made it into the stdlib. I think they can simply be removed in 3.4, as they're not documented anywhere. --

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-18 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: +1 for deletion of them (even in 3.3.3). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17988 ___

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-18 Thread Eli Bendersky
Eli Bendersky added the comment: +1 for deletion of them (even in 3.3.3). Hmm, I don't think I agree. If someone relies on this thing for some obscure reason, breaking when the switch to 3.4 is made is still less abrasive than a break in a maintenance version. Since this isn't strictly a bug

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed with Eli. We shouldn't remove names in bugfix versions. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17988 ___

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-16 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17988 ___

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-15 Thread Jakub Wilk
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

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-15 Thread Jakub Wilk
Jakub Wilk added the comment: The attached (untested) patch should fix the bug. -- keywords: +patch Added file: http://bugs.python.org/file30271/elementinterface.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17988

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +eli.bendersky stage: - patch review type: - behavior versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17988 ___