def _swap_settings(new):
  settings = django.conf.settings
  old = {}
  for key, value in new.iteritems():
    old[key] = getattr(settings, key, None)
    setattr(settings, key, value)
  return old
Define or replace a C++ include definition
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/webapp/template.py/_swap_settings--crossover with--dataset/ETHPy150Open scanlime/coastermelt/backdoor/shell_magics.py/ShellMagics.fc