We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We used to set Base.stdout to PyIO(sys.stdout) but this causes bugs so is removed.
Base.stdout
PyIO(sys.stdout)
Instead copy the IJulia approach: use pipe = redirect_stdout() and have an async task watch the pipe for output and write it to sys.stdout.
pipe = redirect_stdout()
sys.stdout
The text was updated successfully, but these errors were encountered:
What PyCall does is to set sys.stdout to Base.stdout and it seems to work fine.
I recently also updated PyCall to install a post-execute hook to flush Python stdio after each cell is executed in IJulia.
But maybe you are talking about JuliaCall from IPython here, not PythonCall from IJulia?
Sorry, something went wrong.
Yeah exactly, this ticket is about the other side (using JuliaCall from IPython).
No branches or pull requests
We used to set
Base.stdout
toPyIO(sys.stdout)
but this causes bugs so is removed.Instead copy the IJulia approach: use
pipe = redirect_stdout()
and have an async task watch the pipe for output and write it tosys.stdout
.The text was updated successfully, but these errors were encountered: