On 01/25/10 07:38 PM, johan...@sun.com wrote:
Okay. Here's a webrev that should implement what we discussed earlier
this afternoon. Due to the variety of different exception cases
possible and the different clean-ups needed, the wrapper function is a
bit more complicated than a simple try/finally, but it seems to work.
http://cr.opensolaris.org/~johansen/webrev-3720-4/
I don't believe that the GeneratorExit should be re-raised to the
caller. My understanding was that the GeneratorExit was intentionally
thrown at the generator itself so that it could do whatever was needed
to abort and handle it without further assistance.
Was there a specific reasoning behind doing so instead of just issuing a
"return" or "pass"?
Otherwise, I'm happy with this.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss