Romulo A. Ceccon added the comment: "... but the error message must be converted to str early (i.e when building the Exception)."
Wouldn't that create more problems? What if somebody wants to intercept the exception and do something with it, like, say, redirect it to a log file? The programmer must, then, be aware of the different encoding. I thought about keeping the exception message in Unicode and converting it just before printing. Is that possible for Python 2.x? __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1754> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com