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 abitrolly
Recipients abitrolly, docs@python, gvanrossum, tedder
Date 2020-08-03.04:29:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1596428975.08.0.75046859165.issue41449@roundup.psfhosted.org>
In-reply-to
Content
To avoid too much outside reference, the commit message I am unsure of is this.

> Run Python 3 in unbuffered mode to see lines in `docker logs` as soon as they appear. When Python 3 is not attached to a terminal, it turns on the buffering, like when `docker` runs in a background.

I am not sure.

1. How Python detects it is attached to terminal or not.
2. That it is Python that turns on stdout buffering.
3. What happens to stdout with child processes when they run with docker in different modes - foreground, background (-d), interactive (-i), with tty (-t) and without tty.
History
Date User Action Args
2020-08-03 04:29:35abitrollysetrecipients: + abitrolly, gvanrossum, docs@python, tedder
2020-08-03 04:29:35abitrollysetmessageid: <1596428975.08.0.75046859165.issue41449@roundup.psfhosted.org>
2020-08-03 04:29:35abitrollylinkissue41449 messages
2020-08-03 04:29:34abitrollycreate