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 "<stdin>", line 1, in <module>
TypeError: can't set attributes of built-in/extension type 
'xml.etree.ElementTree.Element'

----------
nosy: +jjstuart

_______________________________________
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

Reply via email to