def _inspect_environment():
  app_version = os.environ['CURRENT_VERSION_ID'].rsplit('.', 1)[0]
  conf_version = int(os.environ.get('CURRENT_CONFIGURATION_VERSION', '0'))
  development = os.environ.get('SERVER_SOFTWARE', '').startswith('Development/')
  return (app_version, conf_version, development)
Return relevant information from the cgi environment.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/conf.py/_inspect_environment