#NEWLINE# def _except( self , * args , **kwargs ) : #NEWLINE# #INDENT# def decorator( f ) : #NEWLINE# #INDENT# for e in args : #NEWLINE# #INDENT# self . except_ [ e ] = f #NEWLINE# #UNINDENT# d = kwargs . get ( 'debug' , None ) #NEWLINE# if d : #NEWLINE# #INDENT# self . force_debug . append ( e ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( d is not None ) : #NEWLINE# #INDENT# self . force_handle . append ( e ) #NEWLINE# #UNINDENT# #UNINDENT# return f #NEWLINE# #UNINDENT# return decorator