From 247f50e08d4a0b990c44664cd3a8b2c5bb74d01e 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