{"action":"closed","number":7308,"pull_request":{"url":"https://api.github.com/repos/numpy/numpy/pulls/7308","id":60216838,"html_url":"https://github.com/numpy/numpy/pull/7308","diff_url":"https://github.com/numpy/numpy/pull/7308.diff","patch_url":"https://github.com/numpy/numpy/pull/7308.patch","issue_url":"https://api.github.com/repos/numpy/numpy/issues/7308","number":7308,"state":"closed","locked":false,"title":"BUG: Incrementing the wrong reference on return","user":{"login":"madphysicist","id":4617010,"avatar_url":"https://avatars.githubusercontent.com/u/4617010?v=3","gravatar_id":"","url":"https://api.github.com/users/madphysicist","html_url":"https://github.com/madphysicist","followers_url":"https://api.github.com/users/madphysicist/followers","following_url":"https://api.github.com/users/madphysicist/following{/other_user}","gists_url":"https://api.github.com/users/madphysicist/gists{/gist_id}","starred_url":"https://api.github.com/users/madphysicist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madphysicist/subscriptions","organizations_url":"https://api.github.com/users/madphysicist/orgs","repos_url":"https://api.github.com/users/madphysicist/repos","events_url":"https://api.github.com/users/madphysicist/events{/privacy}","received_events_url":"https://api.github.com/users/madphysicist/received_events","type":"User","site_admin":false},"body":"How did this work before? If `i2` is `NULL`, `Py_INCREF` will generally crash. That pretty much means that this branch was never excercised in a test or elsewhere?","created_at":"2016-02-22T18:19:39Z","updated_at":"2016-02-23T16:26:58Z","closed_at":"2016-02-23T16:26:58Z","merged_at":"2016-02-23T16:26:58Z","merge_commit_sha":"66e33a993d552c97dbebfd8155f214256bb8c3bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/numpy/numpy/pulls/7308/commits","review_comments_url":"https://api.github.com/repos/numpy/numpy/pulls/7308/comments","review_comment_url":"https://api.github.com/repos/numpy/numpy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/7308/comments","statuses_url":"https://api.github.com/repos/numpy/numpy/statuses/8e7d2dfeaf5464e6d970ae507284831505ebb16c","head":{"label":"madphysicist:madphysicist-pyref-bug","ref":"madphysicist-pyref-bug","sha":"8e7d2dfeaf5464e6d970ae507284831505ebb16c","user":{"login":"madphysicist","id":4617010,"avatar_url":"https://avatars.githubusercontent.com/u/4617010?v=3","gravatar_id":"","url":"https://api.github.com/users/madphysicist","html_url":"https://github.com/madphysicist","followers_url":"https://api.github.com/users/madphysicist/followers","following_url":"https://api.github.com/users/madphysicist/following{/other_user}","gists_url":"https://api.github.com/users/madphysicist/gists{/gist_id}","starred_url":"https://api.github.com/users/madphysicist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madphysicist/subscriptions","organizations_url":"https://api.github.com/users/madphysicist/orgs","repos_url":"https://api.github.com/users/madphysicist/repos","events_url":"https://api.github.com/users/madphysicist/events{/privacy}","received_events_url":"https://api.github.com/users/madphysicist/received_events","type":"User","site_admin":false},"repo":{"id":50133617,"name":"numpy","full_name":"madphysicist/numpy","owner":{"login":"madphysicist","id":4617010,"avatar_url":"https://avatars.githubusercontent.com/u/4617010?v=3","gravatar_id":"","url":"https://api.github.com/users/madphysicist","html_url":"https://github.com/madphysicist","followers_url":"https://api.github.com/users/madphysicist/followers","following_url":"https://api.github.com/users/madphysicist/following{/other_user}","gists_url":"https://api.github.com/users/madphysicist/gists{/gist_id}","starred_url":"https://api.github.com/users/madphysicist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madphysicist/subscriptions","organizations_url":"https://api.github.com/users/madphysicist/orgs","repos_url":"https://api.github.com/users/madphysicist/repos","events_url":"https://api.github.com/users/madphysicist/events{/privacy}","received_events_url":"https://api.github.com/users/madphysicist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/madphysicist/numpy","description":"Numpy main repository","fork":true,"url":"https://api.github.com/repos/madphysicist/numpy","forks_url":"https://api.github.com/repos/madphysicist/numpy/forks","keys_url":"https://api.github.com/repos/madphysicist/numpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madphysicist/numpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madphysicist/numpy/teams","hooks_url":"https://api.github.com/repos/madphysicist/numpy/hooks","issue_events_url":"https://api.github.com/repos/madphysicist/numpy/issues/events{/number}","events_url":"https://api.github.com/repos/madphysicist/numpy/events","assignees_url":"https://api.github.com/repos/madphysicist/numpy/assignees{/user}","branches_url":"https://api.github.com/repos/madphysicist/numpy/branches{/branch}","tags_url":"https://api.github.com/repos/madphysicist/numpy/tags","blobs_url":"https://api.github.com/repos/madphysicist/numpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madphysicist/numpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madphysicist/numpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/madphysicist/numpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madphysicist/numpy/statuses/{sha}","languages_url":"https://api.github.com/repos/madphysicist/numpy/languages","stargazers_url":"https://api.github.com/repos/madphysicist/numpy/stargazers","contributors_url":"https://api.github.com/repos/madphysicist/numpy/contributors","subscribers_url":"https://api.github.com/repos/madphysicist/numpy/subscribers","subscription_url":"https://api.github.com/repos/madphysicist/numpy/subscription","commits_url":"https://api.github.com/repos/madphysicist/numpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/madphysicist/numpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/madphysicist/numpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/madphysicist/numpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/madphysicist/numpy/contents/{+path}","compare_url":"https://api.github.com/repos/madphysicist/numpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madphysicist/numpy/merges","archive_url":"https://api.github.com/repos/madphysicist/numpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madphysicist/numpy/downloads","issues_url":"https://api.github.com/repos/madphysicist/numpy/issues{/number}","pulls_url":"https://api.github.com/repos/madphysicist/numpy/pulls{/number}","milestones_url":"https://api.github.com/repos/madphysicist/numpy/milestones{/number}","notifications_url":"https://api.github.com/repos/madphysicist/numpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madphysicist/numpy/labels{/name}","releases_url":"https://api.github.com/repos/madphysicist/numpy/releases{/id}","deployments_url":"https://api.github.com/repos/madphysicist/numpy/deployments","created_at":"2016-01-21T20:10:33Z","updated_at":"2016-01-21T20:10:37Z","pushed_at":"2016-02-23T13:51:07Z","git_url":"git://github.com/madphysicist/numpy.git","ssh_url":"git@github.com:madphysicist/numpy.git","clone_url":"https://github.com/madphysicist/numpy.git","svn_url":"https://github.com/madphysicist/numpy","homepage":"http://www.numpy.org/","size":43049,"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":"numpy:master","ref":"master","sha":"fa3cde1b44182297663c69daa41abb576218a2ab","user":{"login":"numpy","id":288276,"avatar_url":"https://avatars.githubusercontent.com/u/288276?v=3","gravatar_id":"","url":"https://api.github.com/users/numpy","html_url":"https://github.com/numpy","followers_url":"https://api.github.com/users/numpy/followers","following_url":"https://api.github.com/users/numpy/following{/other_user}","gists_url":"https://api.github.com/users/numpy/gists{/gist_id}","starred_url":"https://api.github.com/users/numpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numpy/subscriptions","organizations_url":"https://api.github.com/users/numpy/orgs","repos_url":"https://api.github.com/users/numpy/repos","events_url":"https://api.github.com/users/numpy/events{/privacy}","received_events_url":"https://api.github.com/users/numpy/received_events","type":"Organization","site_admin":false},"repo":{"id":908607,"name":"numpy","full_name":"numpy/numpy","owner":{"login":"numpy","id":288276,"avatar_url":"https://avatars.githubusercontent.com/u/288276?v=3","gravatar_id":"","url":"https://api.github.com/users/numpy","html_url":"https://github.com/numpy","followers_url":"https://api.github.com/users/numpy/followers","following_url":"https://api.github.com/users/numpy/following{/other_user}","gists_url":"https://api.github.com/users/numpy/gists{/gist_id}","starred_url":"https://api.github.com/users/numpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numpy/subscriptions","organizations_url":"https://api.github.com/users/numpy/orgs","repos_url":"https://api.github.com/users/numpy/repos","events_url":"https://api.github.com/users/numpy/events{/privacy}","received_events_url":"https://api.github.com/users/numpy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/numpy/numpy","description":"Numpy main repository","fork":false,"url":"https://api.github.com/repos/numpy/numpy","forks_url":"https://api.github.com/repos/numpy/numpy/forks","keys_url":"https://api.github.com/repos/numpy/numpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/numpy/numpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/numpy/numpy/teams","hooks_url":"https://api.github.com/repos/numpy/numpy/hooks","issue_events_url":"https://api.github.com/repos/numpy/numpy/issues/events{/number}","events_url":"https://api.github.com/repos/numpy/numpy/events","assignees_url":"https://api.github.com/repos/numpy/numpy/assignees{/user}","branches_url":"https://api.github.com/repos/numpy/numpy/branches{/branch}","tags_url":"https://api.github.com/repos/numpy/numpy/tags","blobs_url":"https://api.github.com/repos/numpy/numpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/numpy/numpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/numpy/numpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/numpy/numpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/numpy/numpy/statuses/{sha}","languages_url":"https://api.github.com/repos/numpy/numpy/languages","stargazers_url":"https://api.github.com/repos/numpy/numpy/stargazers","contributors_url":"https://api.github.com/repos/numpy/numpy/contributors","subscribers_url":"https://api.github.com/repos/numpy/numpy/subscribers","subscription_url":"https://api.github.com/repos/numpy/numpy/subscription","commits_url":"https://api.github.com/repos/numpy/numpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/numpy/numpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/numpy/numpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/numpy/numpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/numpy/numpy/contents/{+path}","compare_url":"https://api.github.com/repos/numpy/numpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/numpy/numpy/merges","archive_url":"https://api.github.com/repos/numpy/numpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/numpy/numpy/downloads","issues_url":"https://api.github.com/repos/numpy/numpy/issues{/number}","pulls_url":"https://api.github.com/repos/numpy/numpy/pulls{/number}","milestones_url":"https://api.github.com/repos/numpy/numpy/milestones{/number}","notifications_url":"https://api.github.com/repos/numpy/numpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/numpy/numpy/labels{/name}","releases_url":"https://api.github.com/repos/numpy/numpy/releases{/id}","deployments_url":"https://api.github.com/repos/numpy/numpy/deployments","created_at":"2010-09-13T23:02:39Z","updated_at":"2016-02-23T16:06:16Z","pushed_at":"2016-02-23T16:26:58Z","git_url":"git://github.com/numpy/numpy.git","ssh_url":"git@github.com:numpy/numpy.git","clone_url":"https://github.com/numpy/numpy.git","svn_url":"https://github.com/numpy/numpy","homepage":"http://www.numpy.org/","size":64170,"stargazers_count":2659,"watchers_count":2659,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1378,"mirror_url":null,"open_issues_count":1140,"forks":1378,"open_issues":1140,"watchers":2659,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/numpy/numpy/pulls/7308"},"html":{"href":"https://github.com/numpy/numpy/pull/7308"},"issue":{"href":"https://api.github.com/repos/numpy/numpy/issues/7308"},"comments":{"href":"https://api.github.com/repos/numpy/numpy/issues/7308/comments"},"review_comments":{"href":"https://api.github.com/repos/numpy/numpy/pulls/7308/comments"},"review_comment":{"href":"https://api.github.com/repos/numpy/numpy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/numpy/numpy/pulls/7308/commits"},"statuses":{"href":"https://api.github.com/repos/numpy/numpy/statuses/8e7d2dfeaf5464e6d970ae507284831505ebb16c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"seberg","id":61977,"avatar_url":"https://avatars.githubusercontent.com/u/61977?v=3","gravatar_id":"","url":"https://api.github.com/users/seberg","html_url":"https://github.com/seberg","followers_url":"https://api.github.com/users/seberg/followers","following_url":"https://api.github.com/users/seberg/following{/other_user}","gists_url":"https://api.github.com/users/seberg/gists{/gist_id}","starred_url":"https://api.github.com/users/seberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seberg/subscriptions","organizations_url":"https://api.github.com/users/seberg/orgs","repos_url":"https://api.github.com/users/seberg/repos","events_url":"https://api.github.com/users/seberg/events{/privacy}","received_events_url":"https://api.github.com/users/seberg/received_events","type":"User","site_admin":false},"comments":17,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}