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

In-process kernel async API #20470

Open
davidbrochart opened this issue Feb 3, 2023 · 4 comments
Open

In-process kernel async API #20470

davidbrochart opened this issue Feb 3, 2023 · 4 comments

Comments

@davidbrochart
Copy link

It seems that Spyder uses ipykernel's in-process kernel. As we are doing a major refactor of ipykernel, I was wondering if it's indeed needed in this project. If yes, how would Spyder be impacted if we were to change the API to be async?

@dalthviz
Copy link
Member

Hi @davidbrochart thank you for reaching out! Pinging @ccordoba12 and @impact27 (probably they have a better picture of the implications of such a change)

@ccordoba12
Copy link
Member

Hey @davidbrochart, thanks for reaching out. We actually don't use the in-process kernel API. The match you found is because we have a copy of the Qtconsole repo here to ease development.

However, there are several users that depend on it to provide a console connected to the same process a PyQt application is running. That's very useful to explore its internals in an interactive way.

@davidbrochart
Copy link
Author

Thanks, I'll look into the Qtconsole then.
Out of curiosity, is Spyder an async application?

@impact27
Copy link
Contributor

@davidbrochart Spyder is a qt application so it uses qt eventloops instead of asyncio. The user code is run in spyder-kernels, which is based on ipykernel, and therefore is an async application

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

No branches or pull requests

4 participants