On Sat, May 31, 2008 at 2:33 PM, Adam Olsen <[EMAIL PROTECTED]> wrote: > I think the reason why strict/backslashreplace (respectively) work > well is that you can print a unicode string to stdout, have it fail > (encoding can't handle it), then get an exception printed to stderr > with the string escaped. > > Making stderr stricter would make it unable to print the string and > making stdout less strict would let the error pass silently (printing > potential garbage instead).
You've got it exactly right, better than I said it. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com