def make_default_signal_map():
 name_map = {'SIGTSTP': None, 'SIGTTIN': None, 'SIGTTOU': None, 'SIGTERM': 'terminate'}
 signal_map = dict(((getattr(signal, name), target) for (name, target) in name_map.items() if hasattr(signal, name)))
 return signal_map

def make_default_signal_map ( ) : name_map = { 'SIGTSTP' : None , 'SIGTTIN' : None , 'SIGTTOU' : None , 'SIGTERM' : 'terminate' } signal_map = dict ( ( ( getattr ( signal , name ) , target ) for ( name , target ) in name_map . items ( ) if hasattr ( signal , name ) ) ) return signal_map
make the default signal map for this system .