Message161043
Example Code to reproduce:
from xml.etree import ElementTree as etree
class xetree:
cElement = etree.Element
class Element(etree.Element):
def __init__(self, tag, attrib=None):
xetree.cElement.__init__(self, tag, attrib)
etree.Element = xetree.Element
e = etree.Element("test", {'foobar':'bar'})
e.text = "failure"
print(etree.tostring(e))
# will lack "failure"
So basic inheritance is broken. |
|
Date |
User |
Action |
Args |
2012-05-18 10:13:19 | cmn | set | recipients:
+ cmn |
2012-05-18 10:13:19 | cmn | set | messageid: <1337335999.38.0.656009242892.issue14849@psf.upfronthosting.co.za> |
2012-05-18 10:13:18 | cmn | link | issue14849 messages |
2012-05-18 10:13:18 | cmn | create | |
|