Skip to content

Conversation

@maartenbreddels
Copy link
Contributor

Similar to #115 but for stdout/stderr

This can be useful for a thread to redirect stdout/stderr to a file, while other threads can still write to stdout/stderr.

maartenbreddels and others added 2 commits April 14, 2023 21:23
Similar to ipython#115 but for stdout/stderr

This can be useful for a thread to redirect stdout/stderr to a
file, while other threads can still write to stdout/stderr.
@blink1073 blink1073 changed the title feat: add outstream hook similar to display publisher Add outstream hook similar to display publisher Apr 14, 2023
Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@blink1073 blink1073 merged commit 756c588 into ipython:main Apr 14, 2023
maartenbreddels added a commit to maartenbreddels/ipykernel that referenced this pull request Jul 20, 2023
A display hook can handle a publish message, but not yet a clear_output

Upstreaming of: widgetti/solara#132
Follow up of: ipython#1110
Related: https://github.com/ipython/ipykernel/pull/115/files

Would enable jupyter-widgets/ipywidgets#3759
to fully work kernel side.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants