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 cmn
Recipients cmn
Date 2012-05-18.10:13:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337335999.38.0.656009242892.issue14849@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-05-18 10:13:19cmnsetrecipients: + cmn
2012-05-18 10:13:19cmnsetmessageid: <1337335999.38.0.656009242892.issue14849@psf.upfronthosting.co.za>
2012-05-18 10:13:18cmnlinkissue14849 messages
2012-05-18 10:13:18cmncreate