This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Sworddragon
Recipients Sworddragon, vstinner
Date 2014-09-19.14:26:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411136796.25.0.71282467298.issue22443@psf.upfronthosting.co.za>
In-reply-to
Content
> The buffering of stdout and/or stderr of your application probably
> changes if the application runs in a terminal (TTY) or if the output is
> redirected to a pipe (not a TTY). Set the setvbuf() function.

This means in the worst case there is currently no official way to get this output before it writes a newline?


> You can try my hack to disable buffering using LD_PRELOAD:
> https://bitbucket.org/haypo/misc/src/4d133ea3e46550808305b093557ee51d2de2ac9f/misc/nobuffer.c?at=default

I will try later if I can successfully compile Python with this hack.
History
Date User Action Args
2014-09-19 14:26:36Sworddragonsetrecipients: + Sworddragon, vstinner
2014-09-19 14:26:36Sworddragonsetmessageid: <1411136796.25.0.71282467298.issue22443@psf.upfronthosting.co.za>
2014-09-19 14:26:36Sworddragonlinkissue22443 messages
2014-09-19 14:26:36Sworddragoncreate