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)

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 .