Skip to content

Render by default to stderr if stdout is redirected. #899

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

Merged
merged 1 commit into from
Jun 4, 2019

Conversation

jonathanslenders
Copy link
Member

No description provided.

@jonathanslenders jonathanslenders force-pushed the render-to-stderr-when-stdout-is-piped branch from 5a2ffe5 to b5fed9b Compare May 15, 2019 21:24
@jonathanslenders jonathanslenders force-pushed the render-to-stderr-when-stdout-is-piped branch from b5fed9b to 75df015 Compare May 15, 2019 21:25
@jonathanslenders jonathanslenders merged commit b67d014 into master Jun 4, 2019
@hotpxl
Copy link

hotpxl commented Jul 31, 2019

fwiw, sometimes I want to redirect prompt_toolkit (I use IPython terminal) to a different tty, and I couldn't do that before because sys.__stdout__ couldn't be changed. But now I can do this.

Thanks for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants