Ezio Melotti <ezio.melo...@gmail.com> added the comment: > IMO __unicode__ should have the same behaviour as __str__. There's no > reason to implement two different formatting algorithms.
If BaseException has both the methods they have to be both overridden by derived exceptions in order to have the same behaviour. The simplest way to do it is to convert the string returned by __str__ to unicode, as I did in issue6108.diff. If you have better suggestions let me know. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6108> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com