Eli Bendersky <eli...@gmail.com> added the comment: Here's a simpler testcase:
import xml.etree.ElementTree as ET class XElement(ET.Element): def __init__(self, tag, attrib={}): ET.Element.__init__(self, tag, attrib) e = XElement('test') e.text = 'failure' print(ET.tostring(e)) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14849> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com