News for hackers. Stuff that matters.
Re:Goto decorator for python by haberman on Monday March 12, 2012 @12:34PM (#3694196)
Yes, the Linux kernel has used this error handling strategy for a long time (http://kerneltrap.org/node/553/2131). A variant on this is to have multiple error labels so that you uninitialize the correct set of things without the if statements (which may not be possible in cases where the resource is represented by an opaque handle).

There are no comments on this comment yet.