Prev: Killing a Thread
Next: SimpleXMLRPCServer daemon
From: Antoine Pitrou on 30 Jan 2010 08:11 Le Fri, 29 Jan 2010 22:25:14 +0100, Austin Bingham a écrit : > Maybe I'm not following what you're saying. In my case, I already know > that an exception has been thrown. In the course of processing that > exception, I call another function which, for whatever reason and even > when it succeeds, clears the exception indicators. If you know an error occurred and need to retain it somewhere, just use PyErr_Fetch() and PyErr_Restore(). Regards Antoine. |