On March 14, 2008, Jason Tackaberry wrote: > On Fri, 2008-03-14 at 21:44 +0100, Duncan Webb wrote: > > :-) typical evolution of software, started off testing a few methods and > > > > then added more and copied the code for the next function and changed > > bits, then changed the function again; over time they all ended up > > looking very similar. > > I'm pretty sensitive about this when writing my own code. As soon as I > find I'm repeating myself, I look to abstract it. But I'm also > sometimes overcome by my own laziness. In kaa, we're starting to see > this idiom a lot: > > tp, exc, tb = sys.exc_info() > raise tp, exc, tb
Just "raise" without any parameters will do what you want here. -- James Oakley [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel