{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/dmccombs/nosepipe/pulls/13","id":40692974,"html_url":"https://github.com/dmccombs/nosepipe/pull/13","diff_url":"https://github.com/dmccombs/nosepipe/pull/13.diff","patch_url":"https://github.com/dmccombs/nosepipe/pull/13.patch","issue_url":"https://api.github.com/repos/dmccombs/nosepipe/issues/13","number":13,"state":"open","locked":false,"title":"Force binary mode on stdout in Windows.","user":{"login":"jhakonen","id":1950698,"avatar_url":"https://avatars.githubusercontent.com/u/1950698?v=3","gravatar_id":"","url":"https://api.github.com/users/jhakonen","html_url":"https://github.com/jhakonen","followers_url":"https://api.github.com/users/jhakonen/followers","following_url":"https://api.github.com/users/jhakonen/following{/other_user}","gists_url":"https://api.github.com/users/jhakonen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhakonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhakonen/subscriptions","organizations_url":"https://api.github.com/users/jhakonen/orgs","repos_url":"https://api.github.com/users/jhakonen/repos","events_url":"https://api.github.com/users/jhakonen/events{/privacy}","received_events_url":"https://api.github.com/users/jhakonen/received_events","type":"User","site_admin":false},"body":"As requested in issue #10 here's the change to fix IPC communication errors between the isolated sub-process and parent-process.\r\n\r\nThe issue was that on Windows when you write to STDOUT any LF-bytes gets automatically converted to CRLF-bytes. The conversion corrupts the binary based IPC communication.\r\n\r\nThis change fixes the corruption by changing STDOUT's mode from text mode to binary mode. \r\n\r\nI've tested this with Windows 7 x64 and Python 2.7.10.","created_at":"2015-07-23T16:47:18Z","updated_at":"2015-07-23T16:47:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dmccombs/nosepipe/pulls/13/commits","review_comments_url":"https://api.github.com/repos/dmccombs/nosepipe/pulls/13/comments","review_comment_url":"https://api.github.com/repos/dmccombs/nosepipe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmccombs/nosepipe/issues/13/comments","statuses_url":"https://api.github.com/repos/dmccombs/nosepipe/statuses/dc8d235ff4273c7c9b92764515f770cdaf239e58","head":{"label":"jhakonen:fix_ipc","ref":"fix_ipc","sha":"dc8d235ff4273c7c9b92764515f770cdaf239e58","user":{"login":"jhakonen","id":1950698,"avatar_url":"https://avatars.githubusercontent.com/u/1950698?v=3","gravatar_id":"","url":"https://api.github.com/users/jhakonen","html_url":"https://github.com/jhakonen","followers_url":"https://api.github.com/users/jhakonen/followers","following_url":"https://api.github.com/users/jhakonen/following{/other_user}","gists_url":"https://api.github.com/users/jhakonen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhakonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhakonen/subscriptions","organizations_url":"https://api.github.com/users/jhakonen/orgs","repos_url":"https://api.github.com/users/jhakonen/repos","events_url":"https://api.github.com/users/jhakonen/events{/privacy}","received_events_url":"https://api.github.com/users/jhakonen/received_events","type":"User","site_admin":false},"repo":{"id":39576738,"name":"nosepipe","full_name":"jhakonen/nosepipe","owner":{"login":"jhakonen","id":1950698,"avatar_url":"https://avatars.githubusercontent.com/u/1950698?v=3","gravatar_id":"","url":"https://api.github.com/users/jhakonen","html_url":"https://github.com/jhakonen","followers_url":"https://api.github.com/users/jhakonen/followers","following_url":"https://api.github.com/users/jhakonen/following{/other_user}","gists_url":"https://api.github.com/users/jhakonen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhakonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhakonen/subscriptions","organizations_url":"https://api.github.com/users/jhakonen/orgs","repos_url":"https://api.github.com/users/jhakonen/repos","events_url":"https://api.github.com/users/jhakonen/events{/privacy}","received_events_url":"https://api.github.com/users/jhakonen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhakonen/nosepipe","description":"Plugin for the nose testing framework for running tests in a subprocess","fork":true,"url":"https://api.github.com/repos/jhakonen/nosepipe","forks_url":"https://api.github.com/repos/jhakonen/nosepipe/forks","keys_url":"https://api.github.com/repos/jhakonen/nosepipe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhakonen/nosepipe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhakonen/nosepipe/teams","hooks_url":"https://api.github.com/repos/jhakonen/nosepipe/hooks","issue_events_url":"https://api.github.com/repos/jhakonen/nosepipe/issues/events{/number}","events_url":"https://api.github.com/repos/jhakonen/nosepipe/events","assignees_url":"https://api.github.com/repos/jhakonen/nosepipe/assignees{/user}","branches_url":"https://api.github.com/repos/jhakonen/nosepipe/branches{/branch}","tags_url":"https://api.github.com/repos/jhakonen/nosepipe/tags","blobs_url":"https://api.github.com/repos/jhakonen/nosepipe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhakonen/nosepipe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhakonen/nosepipe/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhakonen/nosepipe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhakonen/nosepipe/statuses/{sha}","languages_url":"https://api.github.com/repos/jhakonen/nosepipe/languages","stargazers_url":"https://api.github.com/repos/jhakonen/nosepipe/stargazers","contributors_url":"https://api.github.com/repos/jhakonen/nosepipe/contributors","subscribers_url":"https://api.github.com/repos/jhakonen/nosepipe/subscribers","subscription_url":"https://api.github.com/repos/jhakonen/nosepipe/subscription","commits_url":"https://api.github.com/repos/jhakonen/nosepipe/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhakonen/nosepipe/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhakonen/nosepipe/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhakonen/nosepipe/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhakonen/nosepipe/contents/{+path}","compare_url":"https://api.github.com/repos/jhakonen/nosepipe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhakonen/nosepipe/merges","archive_url":"https://api.github.com/repos/jhakonen/nosepipe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhakonen/nosepipe/downloads","issues_url":"https://api.github.com/repos/jhakonen/nosepipe/issues{/number}","pulls_url":"https://api.github.com/repos/jhakonen/nosepipe/pulls{/number}","milestones_url":"https://api.github.com/repos/jhakonen/nosepipe/milestones{/number}","notifications_url":"https://api.github.com/repos/jhakonen/nosepipe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhakonen/nosepipe/labels{/name}","releases_url":"https://api.github.com/repos/jhakonen/nosepipe/releases{/id}","created_at":"2015-07-23T15:54:31Z","updated_at":"2015-07-23T15:54:31Z","pushed_at":"2015-07-23T16:34:04Z","git_url":"git://github.com/jhakonen/nosepipe.git","ssh_url":"git@github.com:jhakonen/nosepipe.git","clone_url":"https://github.com/jhakonen/nosepipe.git","svn_url":"https://github.com/jhakonen/nosepipe","homepage":null,"size":244,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dmccombs:master","ref":"master","sha":"771c67d414824546501dc63dd14a425f65b7e280","user":{"login":"dmccombs","id":403277,"avatar_url":"https://avatars.githubusercontent.com/u/403277?v=3","gravatar_id":"","url":"https://api.github.com/users/dmccombs","html_url":"https://github.com/dmccombs","followers_url":"https://api.github.com/users/dmccombs/followers","following_url":"https://api.github.com/users/dmccombs/following{/other_user}","gists_url":"https://api.github.com/users/dmccombs/gists{/gist_id}","starred_url":"https://api.github.com/users/dmccombs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmccombs/subscriptions","organizations_url":"https://api.github.com/users/dmccombs/orgs","repos_url":"https://api.github.com/users/dmccombs/repos","events_url":"https://api.github.com/users/dmccombs/events{/privacy}","received_events_url":"https://api.github.com/users/dmccombs/received_events","type":"User","site_admin":false},"repo":{"id":15616049,"name":"nosepipe","full_name":"dmccombs/nosepipe","owner":{"login":"dmccombs","id":403277,"avatar_url":"https://avatars.githubusercontent.com/u/403277?v=3","gravatar_id":"","url":"https://api.github.com/users/dmccombs","html_url":"https://github.com/dmccombs","followers_url":"https://api.github.com/users/dmccombs/followers","following_url":"https://api.github.com/users/dmccombs/following{/other_user}","gists_url":"https://api.github.com/users/dmccombs/gists{/gist_id}","starred_url":"https://api.github.com/users/dmccombs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmccombs/subscriptions","organizations_url":"https://api.github.com/users/dmccombs/orgs","repos_url":"https://api.github.com/users/dmccombs/repos","events_url":"https://api.github.com/users/dmccombs/events{/privacy}","received_events_url":"https://api.github.com/users/dmccombs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmccombs/nosepipe","description":"Plugin for the nose testing framework for running tests in a subprocess","fork":false,"url":"https://api.github.com/repos/dmccombs/nosepipe","forks_url":"https://api.github.com/repos/dmccombs/nosepipe/forks","keys_url":"https://api.github.com/repos/dmccombs/nosepipe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmccombs/nosepipe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmccombs/nosepipe/teams","hooks_url":"https://api.github.com/repos/dmccombs/nosepipe/hooks","issue_events_url":"https://api.github.com/repos/dmccombs/nosepipe/issues/events{/number}","events_url":"https://api.github.com/repos/dmccombs/nosepipe/events","assignees_url":"https://api.github.com/repos/dmccombs/nosepipe/assignees{/user}","branches_url":"https://api.github.com/repos/dmccombs/nosepipe/branches{/branch}","tags_url":"https://api.github.com/repos/dmccombs/nosepipe/tags","blobs_url":"https://api.github.com/repos/dmccombs/nosepipe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmccombs/nosepipe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmccombs/nosepipe/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmccombs/nosepipe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmccombs/nosepipe/statuses/{sha}","languages_url":"https://api.github.com/repos/dmccombs/nosepipe/languages","stargazers_url":"https://api.github.com/repos/dmccombs/nosepipe/stargazers","contributors_url":"https://api.github.com/repos/dmccombs/nosepipe/contributors","subscribers_url":"https://api.github.com/repos/dmccombs/nosepipe/subscribers","subscription_url":"https://api.github.com/repos/dmccombs/nosepipe/subscription","commits_url":"https://api.github.com/repos/dmccombs/nosepipe/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmccombs/nosepipe/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmccombs/nosepipe/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmccombs/nosepipe/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmccombs/nosepipe/contents/{+path}","compare_url":"https://api.github.com/repos/dmccombs/nosepipe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmccombs/nosepipe/merges","archive_url":"https://api.github.com/repos/dmccombs/nosepipe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmccombs/nosepipe/downloads","issues_url":"https://api.github.com/repos/dmccombs/nosepipe/issues{/number}","pulls_url":"https://api.github.com/repos/dmccombs/nosepipe/pulls{/number}","milestones_url":"https://api.github.com/repos/dmccombs/nosepipe/milestones{/number}","notifications_url":"https://api.github.com/repos/dmccombs/nosepipe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmccombs/nosepipe/labels{/name}","releases_url":"https://api.github.com/repos/dmccombs/nosepipe/releases{/id}","created_at":"2014-01-03T18:12:40Z","updated_at":"2015-03-17T19:27:06Z","pushed_at":"2015-07-20T13:11:42Z","git_url":"git://github.com/dmccombs/nosepipe.git","ssh_url":"git@github.com:dmccombs/nosepipe.git","clone_url":"https://github.com/dmccombs/nosepipe.git","svn_url":"https://github.com/dmccombs/nosepipe","homepage":null,"size":244,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmccombs/nosepipe/pulls/13"},"html":{"href":"https://github.com/dmccombs/nosepipe/pull/13"},"issue":{"href":"https://api.github.com/repos/dmccombs/nosepipe/issues/13"},"comments":{"href":"https://api.github.com/repos/dmccombs/nosepipe/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/dmccombs/nosepipe/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/dmccombs/nosepipe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmccombs/nosepipe/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/dmccombs/nosepipe/statuses/dc8d235ff4273c7c9b92764515f770cdaf239e58"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}