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 serhiy.storchaka
Recipients ezio.melotti, mark.dickinson, meador.inge, miwa, pitrou, serhiy.storchaka, vajrasky
Date 2013-10-01.12:55:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380632119.8.0.0590101278431.issue19099@psf.upfronthosting.co.za>
In-reply-to
Content
> Other than that, should we raise struct.error instead of ValueError?

Python 3 raises UnicodeEncodeError. And Python 2 raises UnicodeEncodeError when coerce non-ASCII unicode to str.
History
Date User Action Args
2013-10-01 12:55:19serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, pitrou, ezio.melotti, miwa, meador.inge, vajrasky
2013-10-01 12:55:19serhiy.storchakasetmessageid: <1380632119.8.0.0590101278431.issue19099@psf.upfronthosting.co.za>
2013-10-01 12:55:19serhiy.storchakalinkissue19099 messages
2013-10-01 12:55:19serhiy.storchakacreate