def default_config():
 config = Config()
 config.TerminalInteractiveShell.colors = 'NoColor'
 config.TerminalTerminalInteractiveShell.term_title = (False,)
 config.TerminalInteractiveShell.autocall = 0
 f = tempfile.NamedTemporaryFile(suffix=u'test_hist.sqlite', delete=False)
 config.HistoryManager.hist_file = f.name
 f.close()
 config.HistoryManager.db_cache_size = 10000
 return config

def default_config ( ) : config = Config ( ) config . TerminalInteractiveShell . colors = 'NoColor' config . TerminalTerminalInteractiveShell . term_title = ( False , ) config . TerminalInteractiveShell . autocall = 0 f = tempfile . NamedTemporaryFile ( suffix = u'test_hist.sqlite' , delete = False ) config . HistoryManager . hist_file = f . name f . close ( ) config . HistoryManager . db_cache_size = 10000 return config
linux hosts using systemd 207 or later ignore /etc/sysctl .