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 flox
Recipients effbot, flox, jeroen.dirks
Date 2010-02-16.12:42:35
SpamBayes Score 0.046219684
Marked as misclassified No
Message-id <1266324158.03.0.171685896719.issue5100@psf.upfronthosting.co.za>
In-reply-to
Content
"ET.tostring(elem)" works as documented.

Proposed workaround:

import copy

elem_copy = copy.copy(elem)
elem_copy.tail = ''
print ET.tostring(elem_copy)
History
Date User Action Args
2010-02-16 12:42:38floxsetrecipients: + flox, effbot, jeroen.dirks
2010-02-16 12:42:38floxsetmessageid: <1266324158.03.0.171685896719.issue5100@psf.upfronthosting.co.za>
2010-02-16 12:42:36floxlinkissue5100 messages
2010-02-16 12:42:36floxcreate