Message374719
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. |
|
Date |
User |
Action |
Args |
2020-08-03 04:29:35 | abitrolly | set | recipients:
+ abitrolly, gvanrossum, docs@python, tedder |
2020-08-03 04:29:35 | abitrolly | set | messageid: <1596428975.08.0.75046859165.issue41449@roundup.psfhosted.org> |
2020-08-03 04:29:35 | abitrolly | link | issue41449 messages |
2020-08-03 04:29:34 | abitrolly | create | |
|