Ezio Melotti <ezio.melo...@gmail.com> added the comment: > An alternative approach that should work even for the KeyError case is > for BaseException_unicode to check explicitly for the situation where > the __str__ slot has been overridden but __unicode__ is still the > BaseException version and invoke "PyObject_Unicode(PyObject_Str(self))" > when it detects that situation.
This is even better, I'll try to do it. ---------- _______________________________________ 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