def gen_unique_id():
    # Workaround for http://bugs.python.org/issue4607
    if ctypes and _uuid_generate_random:
        buffer = ctypes.create_string_buffer(16)
        _uuid_generate_random(buffer)
        return str(UUID(bytes=buffer.raw))
    return str(uuid4())
Set the default fetcher
dataset/ETHPy150Open ask/carrot/carrot/utils.py/gen_unique_id--crossover with--dataset/ETHPy150Open necaris/python3-openid/openid/fetchers.py/setDefaultFetcher