[issue17989] ElementTree.Element broken attribute setting

2013-05-19 Thread Joe Stuart
Joe Stuart added the comment: Looks like a typo in arbitrary. AttributeError: Can't set arbitraty attributes on Element -- ___ Python tracker <http://bugs.python.org/is

[issue17989] ElementTree.Element broken attribute setting

2013-05-17 Thread Joe Stuart
Joe Stuart added the comment: Forgot to update the XMLParser() assignment. -- Added file: http://bugs.python.org/file30301/ElementTree.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17989] ElementTree.Element broken attribute setting

2013-05-17 Thread Joe Stuart
Changes by Joe Stuart : Removed file: http://bugs.python.org/file30300/ElementTree.patch ___ Python tracker <http://bugs.python.org/issue17989> ___ ___ Python-bugs-list m

[issue17989] ElementTree.Element broken attribute setting

2013-05-17 Thread Joe Stuart
Joe Stuart added the comment: This patch should fix the issue of the classes being overwritten by the c accelerated ones. -- Added file: http://bugs.python.org/file30300/ElementTree.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17989] ElementTree.Element broken attribute setting

2013-05-17 Thread Joe Stuart
Changes by Joe Stuart : Removed file: http://bugs.python.org/file30298/ElementTree.patch ___ Python tracker <http://bugs.python.org/issue17989> ___ ___ Python-bugs-list m

[issue17989] ElementTree.Element broken attribute setting

2013-05-17 Thread Joe Stuart
Joe Stuart added the comment: At the end of ElementTree all of the c accelerators are being imported and it looks like only XMLParser is being used. Here is a patch that only imports XMLParser. -- keywords: +patch Added file: http://bugs.python.org/file30298/ElementTree.patch

[issue17989] ElementTree.Element broken attribute setting

2013-05-17 Thread Joe Stuart
Joe Stuart added the comment: It looks like it's being called from the c extension. I would think it should still throw an exception though? >>> e = etree.Element >>> e.ham = 1 Traceback (most recent call last): File "", line 1, in TypeError: can't set