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 sjmachin
Recipients sjmachin
Date 2012-01-14.00:54:12
SpamBayes Score 0.042811327
Marked as misclassified No
Message-id <1326502453.32.0.206779556991.issue13782@psf.upfronthosting.co.za>
In-reply-to
Content
import xml.etree.ElementTree as et
node = et.Element('x')
node.append(not_an_Element_instance)

2.7 and 3.2 produce no complaint at all.
2.6 and 3.1 produce an AssertionError.

However cElementTree in all 4 versions produces a TypeError.

Please fix 2.7 and 3.2 ElementTree to produce a TypeError.
History
Date User Action Args
2012-01-14 00:54:13sjmachinsetrecipients: + sjmachin
2012-01-14 00:54:13sjmachinsetmessageid: <1326502453.32.0.206779556991.issue13782@psf.upfronthosting.co.za>
2012-01-14 00:54:12sjmachinlinkissue13782 messages
2012-01-14 00:54:12sjmachincreate