Skip to content
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

Add outstream hook similar to display publisher #1110

Merged
merged 2 commits into from Apr 14, 2023

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
Member

@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
28 of 33 checks passed
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.

None yet

2 participants