Author gvanrossum
Recipients abitrolly, docs@python, gvanrossum, tedder
Date 2020-08-03.18:04:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1596477879.75.0.660315553173.issue41449@roundup.psfhosted.org>
In-reply-to
Content
If you don't even know whether it's Python, Docker or Kubernetes you really need to ask somewhere else.  Plenty of user groups around.

Python detects tty using the standard UNIX isatty() function.

To a tty we always get line buffering.

To a file we use a larger buffer.

For more details see the source at
https://github.com/python/cpython/blob/4660597b51b3d14ce6269d0ed865ab7e22c6ae1f/Python/pylifecycle.c#L1942
History
Date User Action Args
2020-08-03 18:04:39gvanrossumsetrecipients: + gvanrossum, docs@python, abitrolly, tedder
2020-08-03 18:04:39gvanrossumsetmessageid: <1596477879.75.0.660315553173.issue41449@roundup.psfhosted.org>
2020-08-03 18:04:39gvanrossumlinkissue41449 messages
2020-08-03 18:04:39gvanrossumcreate