3ba9cc8 Refactor exc_callback invocation.

6 files Authored by jcholast 12 years ago, Committed by mkosek 12 years ago,
    Refactor exc_callback invocation.
    
    Replace _call_exc_callbacks with a function wrapper, which will automatically
    call exception callbacks when an exception is raised from the function. This
    removes the need to specify the function and its arguments twice (once in the
    function call itself and once in _call_exc_callbacks).
    
    Add some extra checks to existing exception callbacks.
    
        
file modified
+80 -151
file modified
+10 -9
file modified
+4 -3
file modified
+13 -14
file modified
+6 -5