This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jwilk
Recipients jwilk
Date 2013-05-15.22:46:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368658011.78.0.414145744808.issue17989@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-05-15 22:46:51jwilksetrecipients: + jwilk
2013-05-15 22:46:51jwilksetmessageid: <1368658011.78.0.414145744808.issue17989@psf.upfronthosting.co.za>
2013-05-15 22:46:51jwilklinkissue17989 messages
2013-05-15 22:46:51jwilkcreate