Unlocked kernel
Custom IPythonKernel subclass with an unlocked main asyncio execution loop.
Replaces IPythonKernel._main_asyncio_lock with contextlib.nullcontext() so concurrent asyncio coroutines and out-of-band shell messages are not serialized behind the main kernel lock.
UnlockKernel
def UnlockKernel(
*args, **kwargs
):
IPython kernel subclass whose _main_asyncio_lock is a no-op contextlib.nullcontext().