From c503706f96a5bf5074d8c807b0873f869f232675 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 28 Nov 2017 13:42:10 +0530 Subject: [PATCH] master: add comment --- mitogen/master.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mitogen/master.py b/mitogen/master.py index 9af10657..37829e41 100644 --- a/mitogen/master.py +++ b/mitogen/master.py @@ -135,6 +135,9 @@ def cfmakeraw(tflags): cflag &= ~flags('CSIZE PARENB') cflag |= flags('CS8') + # TODO: one or more of the above bit twiddles sets or omits a necessary + # flag. Forcing these fields to zero, as shown below, gets us what we want + # on Linux/OS X, but it is possibly broken on some other OS. iflag = 0 oflag = 0 lflag = 0