David Brochart
David Brochart
See: - https://github.com/ipython/ipykernel/actions/runs/13527491742/job/37801623045 - https://github.com/ipython/ipykernel/actions/runs/13527491742/job/37801624573 - https://github.com/ipython/ipykernel/actions/runs/13527491742/job/37801624996
I would like to change our event-loop integration with Trio's [guest mode](https://trio.readthedocs.io/en/stable/reference-lowlevel.html#using-guest-mode-to-run-trio-on-top-of-other-event-loops). Trio's guest mode also works on asyncio thanks to [aioguest](https://github.com/oremanj/aioguest/tree/master/aioguest). For it to work, we just need to...
I would be interesting to have a mode where ipykernel doesn't use IPython, similar to [xeus-python](https://github.com/jupyter-xeus/xeus-python)'s raw mode.
The `_eventloop_set` AnyIO event cannot be set [here](https://github.com/ipython/ipykernel/blob/8cc1ee3b71de8273ca0fba4a560406adc05fdfde/ipykernel/kernelbase.py#L558), because it may be called from a non-async context. This event was introduced in https://github.com/ipython/ipykernel/pull/1265 and the issue was revealed in https://github.com/ipython/ipykernel/pull/1291...