Thread (39 messages) flat view 39 messages, 4 authors, 2016-06-15

Re: [PATCH v2 7/8] git-remote-testpy: don't do unbuffered text I/O

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:55:48

On Thu, Jan 17, 2013 at 10:54 AM, John Keeping [off-list ref] wrote:
-    sys.stdin = os.fdopen(sys.stdin.fileno(), 'r', 0)
+    sys.stdin = os.fdopen(sys.stdin.fileno(), 'rb', 0)
It is not immediately obvious why you would open stdin in rb mode,
please add a comment.

--
Cheers,

Sverre Rabbelier
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help