Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support embedding IPython kernel in async applications #12550

Open
Jackenmen opened this issue Sep 10, 2020 · 0 comments
Open

Support embedding IPython kernel in async applications #12550

Jackenmen opened this issue Sep 10, 2020 · 0 comments

Comments

@Jackenmen
Copy link

It seems like embedded IPython kernel is already running asynchronously with Tornado, so I am wondering if it would be possible to make embedded IPython support async natively. Currently, IPython.embed_kernel() also runs the loop itself (as well as closes it after exiting the kernel), which doesn't make it possible to embed in async applications and it would seem fitting considering that with asyncio's concurrency one could possibly run embedded IPython kernel without "hanging" the rest of application.
I have no idea how much work that would in reality require though, I just think that such functionality would be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant