{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/UCL/STIR/pulls/13","id":56266262,"html_url":"https://github.com/UCL/STIR/pull/13","diff_url":"https://github.com/UCL/STIR/pull/13.diff","patch_url":"https://github.com/UCL/STIR/pull/13.patch","issue_url":"https://api.github.com/repos/UCL/STIR/issues/13","number":13,"state":"open","locked":false,"title":"ENH: Make FindNumpy.cmake Python3-compatible","user":{"login":"kohr-h","id":5030250,"avatar_url":"https://avatars.githubusercontent.com/u/5030250?v=3","gravatar_id":"","url":"https://api.github.com/users/kohr-h","html_url":"https://github.com/kohr-h","followers_url":"https://api.github.com/users/kohr-h/followers","following_url":"https://api.github.com/users/kohr-h/following{/other_user}","gists_url":"https://api.github.com/users/kohr-h/gists{/gist_id}","starred_url":"https://api.github.com/users/kohr-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohr-h/subscriptions","organizations_url":"https://api.github.com/users/kohr-h/orgs","repos_url":"https://api.github.com/users/kohr-h/repos","events_url":"https://api.github.com/users/kohr-h/events{/privacy}","received_events_url":"https://api.github.com/users/kohr-h/received_events","type":"User","site_admin":false},"body":"Your Python command to find out the Numpy version only works in Python 2 due to the usage of `print` as a statement (deprecated) rather than a function. With `from __future__ import print_function` (which is anyway recommended for future-proof code), the print function works in both Py2 and Py3.\r\n\r\nThat's what this PR does to fix the issue.","created_at":"2016-01-16T23:46:55Z","updated_at":"2016-01-16T23:46:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/UCL/STIR/pulls/13/commits","review_comments_url":"https://api.github.com/repos/UCL/STIR/pulls/13/comments","review_comment_url":"https://api.github.com/repos/UCL/STIR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UCL/STIR/issues/13/comments","statuses_url":"https://api.github.com/repos/UCL/STIR/statuses/949da8321fa0d6b287864ea7216d9c5e01f5f578","head":{"label":"odlgroup:issue__findnumpy_py3","ref":"issue__findnumpy_py3","sha":"949da8321fa0d6b287864ea7216d9c5e01f5f578","user":{"login":"odlgroup","id":15667171,"avatar_url":"https://avatars.githubusercontent.com/u/15667171?v=3","gravatar_id":"","url":"https://api.github.com/users/odlgroup","html_url":"https://github.com/odlgroup","followers_url":"https://api.github.com/users/odlgroup/followers","following_url":"https://api.github.com/users/odlgroup/following{/other_user}","gists_url":"https://api.github.com/users/odlgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/odlgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odlgroup/subscriptions","organizations_url":"https://api.github.com/users/odlgroup/orgs","repos_url":"https://api.github.com/users/odlgroup/repos","events_url":"https://api.github.com/users/odlgroup/events{/privacy}","received_events_url":"https://api.github.com/users/odlgroup/received_events","type":"Organization","site_admin":false},"repo":{"id":46976206,"name":"STIR","full_name":"odlgroup/STIR","owner":{"login":"odlgroup","id":15667171,"avatar_url":"https://avatars.githubusercontent.com/u/15667171?v=3","gravatar_id":"","url":"https://api.github.com/users/odlgroup","html_url":"https://github.com/odlgroup","followers_url":"https://api.github.com/users/odlgroup/followers","following_url":"https://api.github.com/users/odlgroup/following{/other_user}","gists_url":"https://api.github.com/users/odlgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/odlgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odlgroup/subscriptions","organizations_url":"https://api.github.com/users/odlgroup/orgs","repos_url":"https://api.github.com/users/odlgroup/repos","events_url":"https://api.github.com/users/odlgroup/events{/privacy}","received_events_url":"https://api.github.com/users/odlgroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odlgroup/STIR","description":"Software for Tomographic Image Reconstruction","fork":true,"url":"https://api.github.com/repos/odlgroup/STIR","forks_url":"https://api.github.com/repos/odlgroup/STIR/forks","keys_url":"https://api.github.com/repos/odlgroup/STIR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odlgroup/STIR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odlgroup/STIR/teams","hooks_url":"https://api.github.com/repos/odlgroup/STIR/hooks","issue_events_url":"https://api.github.com/repos/odlgroup/STIR/issues/events{/number}","events_url":"https://api.github.com/repos/odlgroup/STIR/events","assignees_url":"https://api.github.com/repos/odlgroup/STIR/assignees{/user}","branches_url":"https://api.github.com/repos/odlgroup/STIR/branches{/branch}","tags_url":"https://api.github.com/repos/odlgroup/STIR/tags","blobs_url":"https://api.github.com/repos/odlgroup/STIR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odlgroup/STIR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odlgroup/STIR/git/refs{/sha}","trees_url":"https://api.github.com/repos/odlgroup/STIR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odlgroup/STIR/statuses/{sha}","languages_url":"https://api.github.com/repos/odlgroup/STIR/languages","stargazers_url":"https://api.github.com/repos/odlgroup/STIR/stargazers","contributors_url":"https://api.github.com/repos/odlgroup/STIR/contributors","subscribers_url":"https://api.github.com/repos/odlgroup/STIR/subscribers","subscription_url":"https://api.github.com/repos/odlgroup/STIR/subscription","commits_url":"https://api.github.com/repos/odlgroup/STIR/commits{/sha}","git_commits_url":"https://api.github.com/repos/odlgroup/STIR/git/commits{/sha}","comments_url":"https://api.github.com/repos/odlgroup/STIR/comments{/number}","issue_comment_url":"https://api.github.com/repos/odlgroup/STIR/issues/comments{/number}","contents_url":"https://api.github.com/repos/odlgroup/STIR/contents/{+path}","compare_url":"https://api.github.com/repos/odlgroup/STIR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odlgroup/STIR/merges","archive_url":"https://api.github.com/repos/odlgroup/STIR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odlgroup/STIR/downloads","issues_url":"https://api.github.com/repos/odlgroup/STIR/issues{/number}","pulls_url":"https://api.github.com/repos/odlgroup/STIR/pulls{/number}","milestones_url":"https://api.github.com/repos/odlgroup/STIR/milestones{/number}","notifications_url":"https://api.github.com/repos/odlgroup/STIR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odlgroup/STIR/labels{/name}","releases_url":"https://api.github.com/repos/odlgroup/STIR/releases{/id}","created_at":"2015-11-27T11:13:08Z","updated_at":"2015-11-27T11:13:14Z","pushed_at":"2016-01-16T22:17:10Z","git_url":"git://github.com/odlgroup/STIR.git","ssh_url":"git@github.com:odlgroup/STIR.git","clone_url":"https://github.com/odlgroup/STIR.git","svn_url":"https://github.com/odlgroup/STIR","homepage":null,"size":31477,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"UCL:master","ref":"master","sha":"8c9e21fc79bad30fbd2941bbc810be0fc5d0c6c5","user":{"login":"UCL","id":2951150,"avatar_url":"https://avatars.githubusercontent.com/u/2951150?v=3","gravatar_id":"","url":"https://api.github.com/users/UCL","html_url":"https://github.com/UCL","followers_url":"https://api.github.com/users/UCL/followers","following_url":"https://api.github.com/users/UCL/following{/other_user}","gists_url":"https://api.github.com/users/UCL/gists{/gist_id}","starred_url":"https://api.github.com/users/UCL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCL/subscriptions","organizations_url":"https://api.github.com/users/UCL/orgs","repos_url":"https://api.github.com/users/UCL/repos","events_url":"https://api.github.com/users/UCL/events{/privacy}","received_events_url":"https://api.github.com/users/UCL/received_events","type":"Organization","site_admin":false},"repo":{"id":43287063,"name":"STIR","full_name":"UCL/STIR","owner":{"login":"UCL","id":2951150,"avatar_url":"https://avatars.githubusercontent.com/u/2951150?v=3","gravatar_id":"","url":"https://api.github.com/users/UCL","html_url":"https://github.com/UCL","followers_url":"https://api.github.com/users/UCL/followers","following_url":"https://api.github.com/users/UCL/following{/other_user}","gists_url":"https://api.github.com/users/UCL/gists{/gist_id}","starred_url":"https://api.github.com/users/UCL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCL/subscriptions","organizations_url":"https://api.github.com/users/UCL/orgs","repos_url":"https://api.github.com/users/UCL/repos","events_url":"https://api.github.com/users/UCL/events{/privacy}","received_events_url":"https://api.github.com/users/UCL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UCL/STIR","description":"Software for Tomographic Image Reconstruction","fork":false,"url":"https://api.github.com/repos/UCL/STIR","forks_url":"https://api.github.com/repos/UCL/STIR/forks","keys_url":"https://api.github.com/repos/UCL/STIR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UCL/STIR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UCL/STIR/teams","hooks_url":"https://api.github.com/repos/UCL/STIR/hooks","issue_events_url":"https://api.github.com/repos/UCL/STIR/issues/events{/number}","events_url":"https://api.github.com/repos/UCL/STIR/events","assignees_url":"https://api.github.com/repos/UCL/STIR/assignees{/user}","branches_url":"https://api.github.com/repos/UCL/STIR/branches{/branch}","tags_url":"https://api.github.com/repos/UCL/STIR/tags","blobs_url":"https://api.github.com/repos/UCL/STIR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UCL/STIR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UCL/STIR/git/refs{/sha}","trees_url":"https://api.github.com/repos/UCL/STIR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UCL/STIR/statuses/{sha}","languages_url":"https://api.github.com/repos/UCL/STIR/languages","stargazers_url":"https://api.github.com/repos/UCL/STIR/stargazers","contributors_url":"https://api.github.com/repos/UCL/STIR/contributors","subscribers_url":"https://api.github.com/repos/UCL/STIR/subscribers","subscription_url":"https://api.github.com/repos/UCL/STIR/subscription","commits_url":"https://api.github.com/repos/UCL/STIR/commits{/sha}","git_commits_url":"https://api.github.com/repos/UCL/STIR/git/commits{/sha}","comments_url":"https://api.github.com/repos/UCL/STIR/comments{/number}","issue_comment_url":"https://api.github.com/repos/UCL/STIR/issues/comments{/number}","contents_url":"https://api.github.com/repos/UCL/STIR/contents/{+path}","compare_url":"https://api.github.com/repos/UCL/STIR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UCL/STIR/merges","archive_url":"https://api.github.com/repos/UCL/STIR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UCL/STIR/downloads","issues_url":"https://api.github.com/repos/UCL/STIR/issues{/number}","pulls_url":"https://api.github.com/repos/UCL/STIR/pulls{/number}","milestones_url":"https://api.github.com/repos/UCL/STIR/milestones{/number}","notifications_url":"https://api.github.com/repos/UCL/STIR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UCL/STIR/labels{/name}","releases_url":"https://api.github.com/repos/UCL/STIR/releases{/id}","created_at":"2015-09-28T07:44:46Z","updated_at":"2015-10-26T06:58:37Z","pushed_at":"2016-01-10T22:05:34Z","git_url":"git://github.com/UCL/STIR.git","ssh_url":"git@github.com:UCL/STIR.git","clone_url":"https://github.com/UCL/STIR.git","svn_url":"https://github.com/UCL/STIR","homepage":null,"size":31466,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":8,"forks":8,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UCL/STIR/pulls/13"},"html":{"href":"https://github.com/UCL/STIR/pull/13"},"issue":{"href":"https://api.github.com/repos/UCL/STIR/issues/13"},"comments":{"href":"https://api.github.com/repos/UCL/STIR/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/UCL/STIR/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/UCL/STIR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UCL/STIR/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/UCL/STIR/statuses/949da8321fa0d6b287864ea7216d9c5e01f5f578"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}