ipython / ipython/ipykernel

<debug_request> publish the <status:idle> while an <execute_request> is running

Đang mở
#799 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
734
Fork
412
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
8

Mô tả

In ipykernel 5.5.6,both and put msgs into and process the msg with . Although both and publish the ,there are no conflicts.

When it comes to ipykernel 6.5.0, put msgs into and process the msg with , while shell_stream still works in the old way. This means and will publish the in the same time.

I found this problem in jupyterlab when i executed a cell(sleep 600s) in an ipykernel with ,i switched to another ipynb and switched back. The cell was still running, but the kernel execution_state became idle. Then i found the ipykernel received multi and published the status to idle.

As https://jupyter-client.readthedocs.io/en/latest/messaging.html said "Debug requests and replies are sent over the control channel to prevent queuing behind execution requests". It confuses me that why control_requests affect the kernel's execution_state? Should we use another state like control_state?

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.