New submission from Jakub Wilk: Setting attributes on ElementTree.Element objects is broken: it succeeds without exception, but then the following statement fails with AttributeError (unless that statement sets an Element's attribute too):
$ python3.3 test-element-setattr.py Hello world!Traceback (most recent call last): File "test-element-setattr.py", line 6, in <module> print('Hello world!') AttributeError: ham2 ---------- components: Library (Lib) files: test-element-setattr.py messages: 189321 nosy: jwilk priority: normal severity: normal status: open title: ElementTree.Element broken attribute setting versions: Python 3.3 Added file: http://bugs.python.org/file30272/test-element-setattr.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17989> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com