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 gvanrossum
Recipients amaury.forgeotdarc, gvanrossum, ishimoto
Date 2008-04-15.03:10:12
SpamBayes Score 0.07424934
Marked as misclassified No
Message-id <1208229014.43.0.181948808786.issue2630@psf.upfronthosting.co.za>
In-reply-to
Content
Atsuo: I missed Michael Urman's comment.  Can you copy it here, or
(better :-) write a patch that uses it?

Amaury: I think it would be okay to use backslashreplace as the default
error handler for sys.stderr.  Probably not for sys.stdout or other
files, since I'm sure many users prefer the errors when their data
cannot be printed rather than silently writing \u escapes that might
cause other code reading their output to choke.  For sys.stderr though I
think not having exceptions raised when attempting to print errors is
very valuable.
History
Date User Action Args
2008-04-15 03:10:14gvanrossumsetspambayes_score: 0.0742493 -> 0.07424934
recipients: + gvanrossum, ishimoto, amaury.forgeotdarc
2008-04-15 03:10:14gvanrossumsetspambayes_score: 0.0742493 -> 0.0742493
messageid: <1208229014.43.0.181948808786.issue2630@psf.upfronthosting.co.za>
2008-04-15 03:10:13gvanrossumlinkissue2630 messages
2008-04-15 03:10:13gvanrossumcreate