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

OutStream.isatty #268

Closed
ppwwyyxx opened this issue Sep 23, 2017 · 1 comment · Fixed by #683
Closed

OutStream.isatty #268

ppwwyyxx opened this issue Sep 23, 2017 · 1 comment · Fixed by #683

Comments

@ppwwyyxx
Copy link

I'm using jupyter notebook and sys.stdout is ipykernel.iostream.OutStream.
And sys.stdout.isatty() is False.

Since the output is interactive/terminal-like, I expect it to be true. Also see comments in cpython.

Can this be changed? This should be simply two lines of code.

@ppwwyyxx
Copy link
Author

ppwwyyxx commented Aug 7, 2018

Anyone?

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 a pull request may close this issue.

1 participant