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 David.Buxton
Recipients David.Buxton, amaury.forgeotdarc, eli.bendersky, flox
Date 2012-08-29.17:00:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346259653.91.0.557485788398.issue15811@psf.upfronthosting.co.za>
In-reply-to
Content
Only a problem because I am using unicode_literals and it didn't occur to me to use `str('utf-8')` to get a native string on both 2+3. Much the best solution, thank you.

But that is still a little smelly - I think what I want ideally is for ElementTree to accept str or unicode on 2.7. Either way I appreciate this is very low priority and indeed debatable as to whether it is "wrong".
History
Date User Action Args
2012-08-29 17:00:53David.Buxtonsetrecipients: + David.Buxton, amaury.forgeotdarc, eli.bendersky, flox
2012-08-29 17:00:53David.Buxtonsetmessageid: <1346259653.91.0.557485788398.issue15811@psf.upfronthosting.co.za>
2012-08-29 17:00:53David.Buxtonlinkissue15811 messages
2012-08-29 17:00:53David.Buxtoncreate