ipython / ipython/ipython

Support embedding IPython kernel in async applications

オープン
#12,550 コメント 0 件 リアクション 16 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
16.8k
フォーク
4.5k
平均マージ
1日 2時間
マージ済み PR(30日)
6

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。