On Mon, 2008-01-21 at 01:22 +0100, Jason Tackaberry wrote: > Log: > Exception handlers now are expected to take three arguments instead of one: > exception type, exception value, and traceback.
My log got cut short, I accidentally exited the editor. Here's the full log: Exception handlers now are expected to take three arguments instead of one: exception type, exception value, and traceback. Unhandled exceptions which were re-raised before as simply 'raise e' are now raised using all 3 arguments which means that the printed traceback shows the proper stack of the original exception. Added a signal 'exception' to kaa.signals. Callbacks added to this can respond to any exception which has bubbled up to the mainloop. If a global exception handler returns False explicitly, it prevents the mainloop from terminating. Any unhandled exception is reraised (rather than logged) after the mainloop is stopped and cleaned up, which allows for kaa.main.run() to be wrapped in try/except clauses. Added RemoteException class to kaa.rpc. This exception is raised locally when a remote exception is raised during an rpc call. The class dynamically inherits the original exception. See the docstring for more info. Also did some other minor code shuffling in kaa.rpc Updated asynctest.py to test the new remote exception code. ------------------------------------------------------------------------- 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