def get_spontaneous_environment(*args):
 try:
  env = _spontaneous_environments.get(args)
 except TypeError:
  return Environment(*args)
 if (env is not None):
  return env
 _spontaneous_environments[args] = env = Environment(*args)
 env.shared = True
 return env

def get_spontaneous_environment ( * args ) : try : env = _spontaneous_environments . get ( args ) except TypeError : return Environment ( * args ) if ( env is not None ) : return env _spontaneous_environments [ args ] = env = Environment ( * args ) env . shared = True return env
return a new spontaneous environment .