On Thu, Jan 17, 2013 at 10:54 AM, John Keeping <john@xxxxxxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html