Simple unicode-safe version of str(exception)?

Torsten Bronger bronger at
Tue Apr 29 23:57:18 CEST 2008


Martin v. Löwis writes:

>> Should I report this as a bug? I suspect it's a misfeature.
> Please no. There isn't much that can be done about it, IMO.

One could give Exception a __unicode__ method.  On the other hand,
this kind of conversion of an exception to something printable is a
quite ugly kludge anyway in my opinion, so it needn't special


Torsten Bronger, aquisgrana, europa vetus
                                      Jabber ID: bronger at
               (See for further contact info.)

More information about the Python-list mailing list