Danek Duvall wrote:
On Thu, Apr 09, 2009 at 04:36:41PM -0500, Shawn Walker wrote:
http://cr.opensolaris.org/~swalker/pkg-8072/
api.py:
- So the distinction between catching Exception and a bare except is
what, right now? In case someone raises a string, or other
non-compliant exception? In 2.5 forwards, these will all need to
change to catch Exception and BaseException, respectively?
Yes, because we still have code in a few places that doesn't raise a
proper exception (uses a string), and because modules that we use may do
so and we have no way of stopping them.
I've addressed your other concerns.
updated webrev:
http://cr.opensolaris.org/~swalker/pkg-8072-2/
diff from last webrev:
http://cr.opensolaris.org/~swalker/pkg-8072-2/v1-v2.patch
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss