def Notify(self):
        try:
            self.callable(*self.args, **self.kw_args)
        except StopIteration:
            self.stop()
        except:
            self.stop()
            raise
For exception handling outside of a web context
dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/timer/timer.py/Timer.Notify--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/exceptions/errormiddleware.py/handle_exception