Stefan Krah added the comment: Nice find. -- The Python version does this:
_Element = _ElementInterface = Element So (naively) I would think the same should be done for the C version after importing Element. But then one runs into the object layouts conflict that you mentioned. On the other hand, in the original documentation direct use of _ElementInterface was discouraged: http://effbot.org/zone/pythondoc-elementtree-ElementTree.htm#elementtree.ElementTree._ElementInterface-class ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16089> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com