def get_new_runtime(**kwargs):
    kwargs.setdefault('register_eval', False)
    kwargs.setdefault('unpack_returned_tuples', True)
    kwargs.setdefault('encoding', None)
    lua = lupa.LuaRuntime(**kwargs)
    lua.execute("assert(os.setlocale('C'))")
    return lua
Decrements a retry.
dataset/ETHPy150Open scrapinghub/splash/splash/lua.py/get_new_runtime--crossover with--dataset/ETHPy150Open google/openhtf/openhtf/util/timeouts.py/RetryHelper.RetryIfPossible