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 Neil Muller
Recipients Neil Muller, effbot, hodgestar
Date 2009-06-12.12:50:23
SpamBayes Score 2.2503866e-05
Marked as misclassified No
Message-id <1244811026.34.0.000667233667069.issue6233@psf.upfronthosting.co.za>
In-reply-to
Content
> This doesn't give the expected answer for the test above

Which is obviously due to not comparing apples with apples, as I should
be using a byte-string in the py3k example.

>>> import xml.etree.ElementTree as ET
>>> e = ET.XML(b"<?xml version='1.0'
encoding='iso-8859-1'?><body>t\xe3t</body>")
>>> ET.tostring(e, 'ascii')


Fails without the patch, behaves as expected with the patch.
History
Date User Action Args
2009-06-12 12:50:26Neil Mullersetrecipients: + Neil Muller, effbot, hodgestar
2009-06-12 12:50:26Neil Mullersetmessageid: <1244811026.34.0.000667233667069.issue6233@psf.upfronthosting.co.za>
2009-06-12 12:50:24Neil Mullerlinkissue6233 messages
2009-06-12 12:50:23Neil Mullercreate