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

Output is too much buffered #137

Open
degremont opened this issue Aug 22, 2012 · 4 comments
Open

Output is too much buffered #137

degremont opened this issue Aug 22, 2012 · 4 comments
Milestone

Comments

@degremont
Copy link
Collaborator

Python bufferizes stdout a lot by default.

This could be an issue is stdout is not a tty (behaviour seems different in this case) like tee, tail, etc...
Buffering should be decreased or disabled.
This page gives a couple of useful information on this topic:
http://stackoverflow.com/questions/107705/python-output-buffering

Moreover, if stdout is closed when Shine tries to print something it triggers a broken pipe error.

Reported by: degremont

@degremont
Copy link
Collaborator Author

        status
            changed from new to accepted

Replying to ad-cea:

Moreover, if stdout is closed when Shine tries to print something it triggers a broken pipe error.

Commit SVN commit r428 fixes this.
It is a partial fix for the whole bug.

Original comment by: degremont

@degremont
Copy link
Collaborator Author

  • Description has changed:

Diff:




  • Milestone: 1.3 --> 1.4
  • Resolution: -->

Original comment by: degremont

@degremont
Copy link
Collaborator Author

  • Milestone: 1.4 --> 1.5

Original comment by: degremont

@degremont
Copy link
Collaborator Author

  • Milestone: 1.5 --> 1.6

Original comment by: degremont

@degremont degremont added this to the 1.6 milestone May 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant