old_contents: # appengine_config.py
  from google.appengine.ext import vendor
  
  # Add any libraries install in the "lib" folder.
  vendor.add('lib')
  
  import os
  
  if os.environ.get('SERVER_SOFTWARE', '').startswith('Development'):
      import imp
      import os.path
      import inspect
      from google.appengine.tools.devappserver2.python import sandbox
  
      sandbox._WHITE_LIST_C_MODULES += ['_ssl', '_socket']
      # Use the system socket.
  
      real_os_src_path = os.path.realpath(inspect.getsourcefile(os))
      psocket = os.path.join(os.path.dirname(real_os_src_path), 'socket.py')
      imp.load_source('socket', psocket)
  
new_contents: # appengine_config.py
  from google.appengine.ext import vendor
  
  # Add any libraries install in the "lib" folder.
  vendor.add('lib')
  
  import os
  
  if os.environ.get('SERVER_SOFTWARE', '').startswith('Development'):
      import imp
      import os.path
      import inspect
      from google.appengine.tools.devappserver2.python.runtime import sandbox
  
      sandbox._WHITE_LIST_C_MODULES += ['_ssl', '_socket']
      # Use the system socket.
  
      real_os_src_path = os.path.realpath(inspect.getsourcefile(os))
      psocket = os.path.join(os.path.dirname(real_os_src_path), 'socket.py')
      imp.load_source('socket', psocket)
  
subject: Fix issue with latest sdk: cannot import name sandbox