@contextmanager
def environ_context(**environ_variables):
    old_enivrons = {}
    for environ_var_name, environ_var_value in six.iteritems(environ_variables):
        if environ_var_name in os.environ:
            old_enivrons[environ_var_name] = os.environ[environ_var_name]
        os.environ[environ_var_name] = environ_var_value

    yield

    for environ_var_name in six.iterkeys(environ_variables):
        if environ_var_name in old_enivrons:
            os.environ[environ_var_name] = old_enivrons[environ_var_name]
        else:
            del os.environ[environ_var_name]
verify(M:string|long, signature:tuple) : bool
dataset/ETHPy150Open sodastsai/taskr/taskr/contrib/system/__init__.py/environ_context--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/vendor/gdata/Crypto/PublicKey/pubkey.py/pubkey.verify