-
Notifications
You must be signed in to change notification settings - Fork 93
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
Python: Investigate enabling streaming output from ipykernel #284
Comments
For example, this does not work because progressive output is not being streamed:
|
When we get to investigate this, we should consider if it is related to |
Interestingly enough this does work for some kinds of progressive output. If you use IPyKernel distinguishes between stdout text (which is streamed) and computational results from Python itself (which are not). The reason output streaming "works" from R is that we treat everything as standard output, even intermediate computational results. This is itself a bug. See #281. |
It looks like Jupyter Notebook has the same behavior as Positron with Jupyter Notebook: Screen.Recording.2024-02-07.at.14.54.03.movPositron Version: 2024.02.0 (Universal) build 1500: Screen.Recording.2024-02-07.at.14.55.45.mov |
For use cases such as progress bar output, we don't see the progressive ANSI control characters, as ipykernel buffers output and sends the final state of the output instead.
We need to investigate ipykernel as to whether we can get it to stream output instead.
The text was updated successfully, but these errors were encountered: