{"action":"opened","number":702,"pull_request":{"url":"https://api.github.com/repos/libdynd/dynd-python/pulls/702","id":71422387,"html_url":"https://github.com/libdynd/dynd-python/pull/702","diff_url":"https://github.com/libdynd/dynd-python/pull/702.diff","patch_url":"https://github.com/libdynd/dynd-python/pull/702.patch","issue_url":"https://api.github.com/repos/libdynd/dynd-python/issues/702","number":702,"state":"open","locked":false,"title":"Refcounting Smart Pointers","user":{"login":"insertinterestingnamehere","id":1847484,"avatar_url":"https://avatars.githubusercontent.com/u/1847484?v=3","gravatar_id":"","url":"https://api.github.com/users/insertinterestingnamehere","html_url":"https://github.com/insertinterestingnamehere","followers_url":"https://api.github.com/users/insertinterestingnamehere/followers","following_url":"https://api.github.com/users/insertinterestingnamehere/following{/other_user}","gists_url":"https://api.github.com/users/insertinterestingnamehere/gists{/gist_id}","starred_url":"https://api.github.com/users/insertinterestingnamehere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/insertinterestingnamehere/subscriptions","organizations_url":"https://api.github.com/users/insertinterestingnamehere/orgs","repos_url":"https://api.github.com/users/insertinterestingnamehere/repos","events_url":"https://api.github.com/users/insertinterestingnamehere/events{/privacy}","received_events_url":"https://api.github.com/users/insertinterestingnamehere/received_events","type":"User","site_admin":false},"body":"So, as this is, things still segfault, and there's a compilation error with MSVC that I need to track down. I'll put this up here anyway so we can discuss the proposed API while I track down the remaining errors. I also still need to add an assignment operator that allows moving from an rvalue reference.\r\n\r\nUltimately, I'd like to see a class like this used to interface between our binding code that's written in C++ and Cython. It'd be ideal if we could also use classes like this to interact with many of the built in Python C API functions. The goal there would be to make it so that compile-time errors can be thrown when a function is used with incorrect reference semantics or null handling. Encoding thse semantics into the type system seems like a good way to do that.","created_at":"2016-05-25T16:28:17Z","updated_at":"2016-05-25T16:28:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7d439c1395791eaa432aea482e881e1aaa9e882","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/libdynd/dynd-python/pulls/702/commits","review_comments_url":"https://api.github.com/repos/libdynd/dynd-python/pulls/702/comments","review_comment_url":"https://api.github.com/repos/libdynd/dynd-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libdynd/dynd-python/issues/702/comments","statuses_url":"https://api.github.com/repos/libdynd/dynd-python/statuses/6d0143a28ad3e7517c03bebaefceec52a2bfd958","head":{"label":"insertinterestingnamehere:pyref","ref":"pyref","sha":"6d0143a28ad3e7517c03bebaefceec52a2bfd958","user":{"login":"insertinterestingnamehere","id":1847484,"avatar_url":"https://avatars.githubusercontent.com/u/1847484?v=3","gravatar_id":"","url":"https://api.github.com/users/insertinterestingnamehere","html_url":"https://github.com/insertinterestingnamehere","followers_url":"https://api.github.com/users/insertinterestingnamehere/followers","following_url":"https://api.github.com/users/insertinterestingnamehere/following{/other_user}","gists_url":"https://api.github.com/users/insertinterestingnamehere/gists{/gist_id}","starred_url":"https://api.github.com/users/insertinterestingnamehere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/insertinterestingnamehere/subscriptions","organizations_url":"https://api.github.com/users/insertinterestingnamehere/orgs","repos_url":"https://api.github.com/users/insertinterestingnamehere/repos","events_url":"https://api.github.com/users/insertinterestingnamehere/events{/privacy}","received_events_url":"https://api.github.com/users/insertinterestingnamehere/received_events","type":"User","site_admin":false},"repo":{"id":26927214,"name":"dynd-python","full_name":"insertinterestingnamehere/dynd-python","owner":{"login":"insertinterestingnamehere","id":1847484,"avatar_url":"https://avatars.githubusercontent.com/u/1847484?v=3","gravatar_id":"","url":"https://api.github.com/users/insertinterestingnamehere","html_url":"https://github.com/insertinterestingnamehere","followers_url":"https://api.github.com/users/insertinterestingnamehere/followers","following_url":"https://api.github.com/users/insertinterestingnamehere/following{/other_user}","gists_url":"https://api.github.com/users/insertinterestingnamehere/gists{/gist_id}","starred_url":"https://api.github.com/users/insertinterestingnamehere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/insertinterestingnamehere/subscriptions","organizations_url":"https://api.github.com/users/insertinterestingnamehere/orgs","repos_url":"https://api.github.com/users/insertinterestingnamehere/repos","events_url":"https://api.github.com/users/insertinterestingnamehere/events{/privacy}","received_events_url":"https://api.github.com/users/insertinterestingnamehere/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/insertinterestingnamehere/dynd-python","description":"Python exposure of dynd","fork":true,"url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python","forks_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/forks","keys_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/teams","hooks_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/hooks","issue_events_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/issues/events{/number}","events_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/events","assignees_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/assignees{/user}","branches_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/branches{/branch}","tags_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/tags","blobs_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/statuses/{sha}","languages_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/languages","stargazers_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/stargazers","contributors_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/contributors","subscribers_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/subscribers","subscription_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/subscription","commits_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/contents/{+path}","compare_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/merges","archive_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/downloads","issues_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/issues{/number}","pulls_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/pulls{/number}","milestones_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/milestones{/number}","notifications_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/labels{/name}","releases_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/releases{/id}","deployments_url":"https://api.github.com/repos/insertinterestingnamehere/dynd-python/deployments","created_at":"2014-11-20T19:03:51Z","updated_at":"2016-04-30T21:37:14Z","pushed_at":"2016-05-25T16:15:18Z","git_url":"git://github.com/insertinterestingnamehere/dynd-python.git","ssh_url":"git@github.com:insertinterestingnamehere/dynd-python.git","clone_url":"https://github.com/insertinterestingnamehere/dynd-python.git","svn_url":"https://github.com/insertinterestingnamehere/dynd-python","homepage":"","size":5531,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"libdynd:master","ref":"master","sha":"f017a86161c6293fddd61e53bfba206c348df12b","user":{"login":"libdynd","id":10065955,"avatar_url":"https://avatars.githubusercontent.com/u/10065955?v=3","gravatar_id":"","url":"https://api.github.com/users/libdynd","html_url":"https://github.com/libdynd","followers_url":"https://api.github.com/users/libdynd/followers","following_url":"https://api.github.com/users/libdynd/following{/other_user}","gists_url":"https://api.github.com/users/libdynd/gists{/gist_id}","starred_url":"https://api.github.com/users/libdynd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libdynd/subscriptions","organizations_url":"https://api.github.com/users/libdynd/orgs","repos_url":"https://api.github.com/users/libdynd/repos","events_url":"https://api.github.com/users/libdynd/events{/privacy}","received_events_url":"https://api.github.com/users/libdynd/received_events","type":"Organization","site_admin":false},"repo":{"id":5263844,"name":"dynd-python","full_name":"libdynd/dynd-python","owner":{"login":"libdynd","id":10065955,"avatar_url":"https://avatars.githubusercontent.com/u/10065955?v=3","gravatar_id":"","url":"https://api.github.com/users/libdynd","html_url":"https://github.com/libdynd","followers_url":"https://api.github.com/users/libdynd/followers","following_url":"https://api.github.com/users/libdynd/following{/other_user}","gists_url":"https://api.github.com/users/libdynd/gists{/gist_id}","starred_url":"https://api.github.com/users/libdynd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libdynd/subscriptions","organizations_url":"https://api.github.com/users/libdynd/orgs","repos_url":"https://api.github.com/users/libdynd/repos","events_url":"https://api.github.com/users/libdynd/events{/privacy}","received_events_url":"https://api.github.com/users/libdynd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libdynd/dynd-python","description":"Python exposure of dynd","fork":false,"url":"https://api.github.com/repos/libdynd/dynd-python","forks_url":"https://api.github.com/repos/libdynd/dynd-python/forks","keys_url":"https://api.github.com/repos/libdynd/dynd-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libdynd/dynd-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libdynd/dynd-python/teams","hooks_url":"https://api.github.com/repos/libdynd/dynd-python/hooks","issue_events_url":"https://api.github.com/repos/libdynd/dynd-python/issues/events{/number}","events_url":"https://api.github.com/repos/libdynd/dynd-python/events","assignees_url":"https://api.github.com/repos/libdynd/dynd-python/assignees{/user}","branches_url":"https://api.github.com/repos/libdynd/dynd-python/branches{/branch}","tags_url":"https://api.github.com/repos/libdynd/dynd-python/tags","blobs_url":"https://api.github.com/repos/libdynd/dynd-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libdynd/dynd-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libdynd/dynd-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/libdynd/dynd-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libdynd/dynd-python/statuses/{sha}","languages_url":"https://api.github.com/repos/libdynd/dynd-python/languages","stargazers_url":"https://api.github.com/repos/libdynd/dynd-python/stargazers","contributors_url":"https://api.github.com/repos/libdynd/dynd-python/contributors","subscribers_url":"https://api.github.com/repos/libdynd/dynd-python/subscribers","subscription_url":"https://api.github.com/repos/libdynd/dynd-python/subscription","commits_url":"https://api.github.com/repos/libdynd/dynd-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/libdynd/dynd-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/libdynd/dynd-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/libdynd/dynd-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/libdynd/dynd-python/contents/{+path}","compare_url":"https://api.github.com/repos/libdynd/dynd-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libdynd/dynd-python/merges","archive_url":"https://api.github.com/repos/libdynd/dynd-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libdynd/dynd-python/downloads","issues_url":"https://api.github.com/repos/libdynd/dynd-python/issues{/number}","pulls_url":"https://api.github.com/repos/libdynd/dynd-python/pulls{/number}","milestones_url":"https://api.github.com/repos/libdynd/dynd-python/milestones{/number}","notifications_url":"https://api.github.com/repos/libdynd/dynd-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libdynd/dynd-python/labels{/name}","releases_url":"https://api.github.com/repos/libdynd/dynd-python/releases{/id}","deployments_url":"https://api.github.com/repos/libdynd/dynd-python/deployments","created_at":"2012-08-01T19:45:18Z","updated_at":"2016-05-09T18:18:29Z","pushed_at":"2016-05-25T16:28:18Z","git_url":"git://github.com/libdynd/dynd-python.git","ssh_url":"git@github.com:libdynd/dynd-python.git","clone_url":"https://github.com/libdynd/dynd-python.git","svn_url":"https://github.com/libdynd/dynd-python","homepage":"http://libdynd.org","size":5590,"stargazers_count":73,"watchers_count":73,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":83,"forks":20,"open_issues":83,"watchers":73,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libdynd/dynd-python/pulls/702"},"html":{"href":"https://github.com/libdynd/dynd-python/pull/702"},"issue":{"href":"https://api.github.com/repos/libdynd/dynd-python/issues/702"},"comments":{"href":"https://api.github.com/repos/libdynd/dynd-python/issues/702/comments"},"review_comments":{"href":"https://api.github.com/repos/libdynd/dynd-python/pulls/702/comments"},"review_comment":{"href":"https://api.github.com/repos/libdynd/dynd-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libdynd/dynd-python/pulls/702/commits"},"statuses":{"href":"https://api.github.com/repos/libdynd/dynd-python/statuses/6d0143a28ad3e7517c03bebaefceec52a2bfd958"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":609,"deletions":399,"changed_files":13}}
{"actor":{"display_login":"insertinterestingnamehere"}}