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

Make it possible to exit ipython even if you have threaded servers running. #6776

Open
MarcSkovMadsen opened this issue Apr 22, 2024 · 0 comments
Labels
type: enhancement Minor feature or improvement to an existing feature
Milestone

Comments

@MarcSkovMadsen
Copy link
Collaborator

MarcSkovMadsen commented Apr 22, 2024

I'm using panel==1.4.1

If I .show() a Panel component in ipython with threaded=True I cannot exit it with exit(). I would expect to be able to do that.

Reproducible Example

image

Fix

I believe what needs to be done is to make the thread a daemon thread.

Additional Context

This is not only a problem in ipython. Its a problem in most context as you cannot exit your program in a graceful manner.

In https://discourse.holoviz.org/t/overwhelmed-by-with-holoviews-hvplot-panel-workflow-permutations-concepts/7141/2 I have to teach a user to get a handle on the server such that he can gracefully exit an interactive terminal later. That is friction.

@MarcSkovMadsen MarcSkovMadsen added the type: enhancement Minor feature or improvement to an existing feature label Apr 22, 2024
@MarcSkovMadsen MarcSkovMadsen added this to the Wishlist milestone Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Minor feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant