def handleEventException(source, event, args, kw, exc_info):
 try:
  c = source
  t = event
  if hasattr(c, '__class__'):
   c = c.__class__.__name__
  if isinstance(t, Event):
   t = t.__class__.__name__
  elif issubclass(t, Event):
   t = t.__name__
 except:
  pass
 import sys
 sys.stderr.write(('Exception while handling %s!%s...\n' % (c, t)))
 import traceback
 traceback.print_exception(*exc_info)

def handleEventException ( source , event , args , kw , exc_info ) : try : c = source t = event if hasattr ( c , '__class__' ) : c = c . __class__ . __name__ if isinstance ( t , Event ) : t = t . __class__ . __name__ elif issubclass ( t , Event ) : t = t . __name__ except : pass import sys sys . stderr . write ( ( 'Exception while handling %s!%s...\n' % ( c , t ) ) ) import traceback traceback . print_exception ( * exc_info )
called when an exception is raised by an event handler when the event was raised by raiseeventnoerrors() .