You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use-case where we'd like to run the ipykernel main-loop using a specific asyncio.AbstractEventLoop implementation (not the stdlib's default one). Since in the main branch of ipykernel the code was migrated to use anyio, I believe this boils down to passing a suitable loop_factory value in the backend_options passed to anyio.run (unless Trio mode is enabled, of course).
Would there be any interest in a patch to allow this, essentially adding a --IPKernelApp.asyncio_loop_factory config option (a DottedObjectName)?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I have a use-case where we'd like to run the
ipykernel
main-loop using a specificasyncio.AbstractEventLoop
implementation (not the stdlib's default one). Since in themain
branch ofipykernel
the code was migrated to useanyio
, I believe this boils down to passing a suitableloop_factory
value in thebackend_options
passed toanyio.run
(unless Trio mode is enabled, of course).Would there be any interest in a patch to allow this, essentially adding a
--IPKernelApp.asyncio_loop_factory
config option (aDottedObjectName
)?Thanks!
The text was updated successfully, but these errors were encountered: