def lifted_f(a, indices):
    object()   # Force object mode
    for idx in indices:
        # Let another thread run
        sleep(10 * sleep_factor)
        a[idx] = PyThread_get_thread_ident()
>>> td = ADict(dict(a=1, b=2))
dataset/ETHPy150Open numba/numba/numba/tests/test_gil.py/lifted_f--crossover with--dataset/ETHPy150Open petrvanblokland/Xierpa3/xierpa3/toolbox/storage/adict.py/A.__len__