Shawn Walker wrote:

> http://cr.opensolaris.org/~swalker/pkg-13003/

Is the conversion in error() necessary, given that you're now passing in an
already converted exception into error()?

Also, if this is really a result of python bug 6108, then I wonder if
perhaps the better thing isn't to add __unicode__() methods to our
exception base classes.  But it's not clear to me how this is related to
that.  That bug says that it's the conversion to unicode that's different,
not the conversion to str.  Or am I misreading it?

Of course, if that's *not* the issue, it worries me that "%s" % e is not
equivalent to str(e).  Perhaps there was something wrong with the renaming
of the "args" member to the "_args" member?

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to