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 v+python
Recipients David.Sankel, Drekin, akira, amaury.forgeotdarc, christian.heimes, christoph, davidsarah, ezio.melotti, flox, giampaolo.rodola, hippietrail, lemburg, mark, mhammond, ncoghlan, pitrou, santoso.wijaya, smerlin, ssbarnea, steve.dower, terry.reedy, tim.golden, tzot, v+python, vstinner
Date 2014-07-26.04:30:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406349047.0.0.522558508541.issue1602@psf.upfronthosting.co.za>
In-reply-to
Content
This bug deserves to stay open with its high priority (for whatever good that does these last seven years, although I appreciate all the efforts put forth, and have been making heavy use of the workarounds in the patches), because when working with Unicode data in programs, even exception messages are not properly displayed... instead, they cause a secondary exception of not being able to display the data of the original exception to the console.

And writing Unicode data to the console as part of an interactive or command line program has to either be done with the hopes that the data only includes characters in the console, to avoid the failures, or with lots of special encoding calls and character substitutions for code points not in the console repertoire. Remember that the console is supposed to be human readable, not encoded numerically as ascii() would do. 

ascii() is sort of OK for for exception messages, but since that doesn't happen by default, the initial message to the console with Unicode data often doesn't appear, and an extra repetition after a failed message and a rework of the message parameters is required, which impedes productivity.
History
Date User Action Args
2014-07-26 04:30:47v+pythonsetrecipients: + v+python, lemburg, mhammond, terry.reedy, tzot, amaury.forgeotdarc, ncoghlan, pitrou, vstinner, giampaolo.rodola, christian.heimes, tim.golden, mark, christoph, ezio.melotti, hippietrail, ssbarnea, flox, davidsarah, santoso.wijaya, akira, David.Sankel, smerlin, Drekin, steve.dower
2014-07-26 04:30:46v+pythonsetmessageid: <1406349047.0.0.522558508541.issue1602@psf.upfronthosting.co.za>
2014-07-26 04:30:46v+pythonlinkissue1602 messages
2014-07-26 04:30:45v+pythoncreate