ipython / ipython/ipython

Support embedding IPython kernel in async applications

Đang mở
#12,550 0 bình luận 16 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
16.8k
Fork
4.5k
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
6

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.