Jason Tackaberry wrote: > On 2008-01-14 09:56, Dirk Meyer wrote: >> BTW, if you look at the code: >> >> | except Exception, e: >> | e._exc_info = sys.exc_info() >> >> Isn't that a good way to still keep the old exception interface (only >> one paramater) and also add more info? >> > > IIRC this applies to InProgress but not to Thread. And _exc_info is > only used internally (hinted by the _ prefix). My proposal will modify > the arguments passed to the callback so that the user handler function > has access to the stack at exception time. > > def exception_handler(exc_type, exc_instance, tb): > ... > > I think this makes a lot more sense. And I don't think changing this > will break a lot of places.
Fine by me. Dischi -- Remaining time multiplied by distress is constant.
pgp1sOaXak02o.pgp
Description: PGP signature
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel