blairbonnett/python-leaps — Issue #8: Improve exception handling
Author: blairbonnett
Created: 2011-10-28 08:38:22+00:00
State: open

If an EventHandler callback raises an exception (e.g., it receives invalid arguments), the signal is not removed from the execution stack. If the next layer handles the exception, then the next time the signal is raised it will be (incorrectly) raised as a circular exception.

Similarly, TimeHandler._executing will not be cleared.

There are probably other variables that need resetting too.