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

Check that stdout exposes isatty #81

Merged
merged 1 commit into from
Feb 15, 2022
Merged

Conversation

scw
Copy link
Contributor

@scw scw commented Apr 23, 2021

In embedded environments and other contexts, the sys.stdout stream may
be a custom implementation, and that implementation may not implement
isatty. Check for its existence before use. We ran into this in the case
of ArcGIS Pro which contains embedded Notebooks and uses fastprogress.

In embedded environments and other contexts, the `sys.stdout` stream may
be a custom implementation, and that implementation may not implement
`isatty`. Check for its existence before use.
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jph00
Copy link
Member

jph00 commented Feb 15, 2022

Many thanks!

@jph00 jph00 merged commit db044cc into fastai:master Feb 15, 2022
@jph00 jph00 added the bug Something isn't working label Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants