mercurial/utils/procutil.py
branchstable
changeset 44797 065704cbdbdb
parent 44768 79f6f856c53f
child 44822 95c672c07116
child 44995 78cafd48b9b2
--- a/mercurial/utils/procutil.py	Fri Jun 05 07:20:52 2020 +0200
+++ b/mercurial/utils/procutil.py	Fri Jun 05 06:40:15 2020 +0200
@@ -49,9 +49,11 @@
         return False
 
 
-# glibc determines buffering on first write to stdout - if we replace a TTY
-# destined stdout with a pipe destined stdout (e.g. pager), we want line
-# buffering (or unbuffered, on Windows)
+# Python 2 uses the C library's standard I/O streams. Glibc determines
+# buffering on first write to stdout - if we replace a TTY destined stdout with
+# a pipe destined stdout (e.g. pager), we want line buffering (or unbuffered,
+# on Windows).
+# Python 3 rolls its own standard I/O streams.
 if isatty(stdout):
     if pycompat.iswindows:
         # Windows doesn't support line buffering