{"action":"closed","number":135,"pull_request":{"url":"https://api.github.com/repos/pybind/pybind11/pulls/135","id":62298844,"html_url":"https://github.com/pybind/pybind11/pull/135","diff_url":"https://github.com/pybind/pybind11/pull/135.diff","patch_url":"https://github.com/pybind/pybind11/pull/135.patch","issue_url":"https://api.github.com/repos/pybind/pybind11/issues/135","number":135,"state":"closed","locked":false,"title":"Check for other callable python objects","user":{"login":"bennybp","id":4708439,"avatar_url":"https://avatars.githubusercontent.com/u/4708439?v=3","gravatar_id":"","url":"https://api.github.com/users/bennybp","html_url":"https://github.com/bennybp","followers_url":"https://api.github.com/users/bennybp/followers","following_url":"https://api.github.com/users/bennybp/following{/other_user}","gists_url":"https://api.github.com/users/bennybp/gists{/gist_id}","starred_url":"https://api.github.com/users/bennybp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennybp/subscriptions","organizations_url":"https://api.github.com/users/bennybp/orgs","repos_url":"https://api.github.com/users/bennybp/repos","events_url":"https://api.github.com/users/bennybp/events{/privacy}","received_events_url":"https://api.github.com/users/bennybp/received_events","type":"User","site_admin":false},"body":"This allows the pybind11 translator for std::function to handle other python callable objects. In particular, `functools.partial` can be used. I don't think there should be any other consequences.","created_at":"2016-03-09T21:27:50Z","updated_at":"2016-03-10T21:48:38Z","closed_at":"2016-03-10T21:48:38Z","merged_at":"2016-03-10T21:48:38Z","merge_commit_sha":"895c8a2fdeb3954b37189b7a2ef740d82ef3714c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pybind/pybind11/pulls/135/commits","review_comments_url":"https://api.github.com/repos/pybind/pybind11/pulls/135/comments","review_comment_url":"https://api.github.com/repos/pybind/pybind11/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pybind/pybind11/issues/135/comments","statuses_url":"https://api.github.com/repos/pybind/pybind11/statuses/1b52246f5d6992d94210b29b0594f3d120e25681","head":{"label":"bennybp:master","ref":"master","sha":"1b52246f5d6992d94210b29b0594f3d120e25681","user":{"login":"bennybp","id":4708439,"avatar_url":"https://avatars.githubusercontent.com/u/4708439?v=3","gravatar_id":"","url":"https://api.github.com/users/bennybp","html_url":"https://github.com/bennybp","followers_url":"https://api.github.com/users/bennybp/followers","following_url":"https://api.github.com/users/bennybp/following{/other_user}","gists_url":"https://api.github.com/users/bennybp/gists{/gist_id}","starred_url":"https://api.github.com/users/bennybp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennybp/subscriptions","organizations_url":"https://api.github.com/users/bennybp/orgs","repos_url":"https://api.github.com/users/bennybp/repos","events_url":"https://api.github.com/users/bennybp/events{/privacy}","received_events_url":"https://api.github.com/users/bennybp/received_events","type":"User","site_admin":false},"repo":{"id":49242903,"name":"pybind11","full_name":"bennybp/pybind11","owner":{"login":"bennybp","id":4708439,"avatar_url":"https://avatars.githubusercontent.com/u/4708439?v=3","gravatar_id":"","url":"https://api.github.com/users/bennybp","html_url":"https://github.com/bennybp","followers_url":"https://api.github.com/users/bennybp/followers","following_url":"https://api.github.com/users/bennybp/following{/other_user}","gists_url":"https://api.github.com/users/bennybp/gists{/gist_id}","starred_url":"https://api.github.com/users/bennybp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennybp/subscriptions","organizations_url":"https://api.github.com/users/bennybp/orgs","repos_url":"https://api.github.com/users/bennybp/repos","events_url":"https://api.github.com/users/bennybp/events{/privacy}","received_events_url":"https://api.github.com/users/bennybp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bennybp/pybind11","description":"Seamless operability between C++11 and Python","fork":true,"url":"https://api.github.com/repos/bennybp/pybind11","forks_url":"https://api.github.com/repos/bennybp/pybind11/forks","keys_url":"https://api.github.com/repos/bennybp/pybind11/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bennybp/pybind11/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bennybp/pybind11/teams","hooks_url":"https://api.github.com/repos/bennybp/pybind11/hooks","issue_events_url":"https://api.github.com/repos/bennybp/pybind11/issues/events{/number}","events_url":"https://api.github.com/repos/bennybp/pybind11/events","assignees_url":"https://api.github.com/repos/bennybp/pybind11/assignees{/user}","branches_url":"https://api.github.com/repos/bennybp/pybind11/branches{/branch}","tags_url":"https://api.github.com/repos/bennybp/pybind11/tags","blobs_url":"https://api.github.com/repos/bennybp/pybind11/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bennybp/pybind11/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bennybp/pybind11/git/refs{/sha}","trees_url":"https://api.github.com/repos/bennybp/pybind11/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bennybp/pybind11/statuses/{sha}","languages_url":"https://api.github.com/repos/bennybp/pybind11/languages","stargazers_url":"https://api.github.com/repos/bennybp/pybind11/stargazers","contributors_url":"https://api.github.com/repos/bennybp/pybind11/contributors","subscribers_url":"https://api.github.com/repos/bennybp/pybind11/subscribers","subscription_url":"https://api.github.com/repos/bennybp/pybind11/subscription","commits_url":"https://api.github.com/repos/bennybp/pybind11/commits{/sha}","git_commits_url":"https://api.github.com/repos/bennybp/pybind11/git/commits{/sha}","comments_url":"https://api.github.com/repos/bennybp/pybind11/comments{/number}","issue_comment_url":"https://api.github.com/repos/bennybp/pybind11/issues/comments{/number}","contents_url":"https://api.github.com/repos/bennybp/pybind11/contents/{+path}","compare_url":"https://api.github.com/repos/bennybp/pybind11/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bennybp/pybind11/merges","archive_url":"https://api.github.com/repos/bennybp/pybind11/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bennybp/pybind11/downloads","issues_url":"https://api.github.com/repos/bennybp/pybind11/issues{/number}","pulls_url":"https://api.github.com/repos/bennybp/pybind11/pulls{/number}","milestones_url":"https://api.github.com/repos/bennybp/pybind11/milestones{/number}","notifications_url":"https://api.github.com/repos/bennybp/pybind11/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bennybp/pybind11/labels{/name}","releases_url":"https://api.github.com/repos/bennybp/pybind11/releases{/id}","deployments_url":"https://api.github.com/repos/bennybp/pybind11/deployments","created_at":"2016-01-08T02:02:26Z","updated_at":"2016-01-13T04:03:34Z","pushed_at":"2016-03-10T21:34:30Z","git_url":"git://github.com/bennybp/pybind11.git","ssh_url":"git@github.com:bennybp/pybind11.git","clone_url":"https://github.com/bennybp/pybind11.git","svn_url":"https://github.com/bennybp/pybind11","homepage":null,"size":610,"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":"pybind:master","ref":"master","sha":"17cdb06c1b5dbc3d7d4dafaa22ecfe712264eaf8","user":{"login":"pybind","id":17565521,"avatar_url":"https://avatars.githubusercontent.com/u/17565521?v=3","gravatar_id":"","url":"https://api.github.com/users/pybind","html_url":"https://github.com/pybind","followers_url":"https://api.github.com/users/pybind/followers","following_url":"https://api.github.com/users/pybind/following{/other_user}","gists_url":"https://api.github.com/users/pybind/gists{/gist_id}","starred_url":"https://api.github.com/users/pybind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pybind/subscriptions","organizations_url":"https://api.github.com/users/pybind/orgs","repos_url":"https://api.github.com/users/pybind/repos","events_url":"https://api.github.com/users/pybind/events{/privacy}","received_events_url":"https://api.github.com/users/pybind/received_events","type":"Organization","site_admin":false},"repo":{"id":38581626,"name":"pybind11","full_name":"pybind/pybind11","owner":{"login":"pybind","id":17565521,"avatar_url":"https://avatars.githubusercontent.com/u/17565521?v=3","gravatar_id":"","url":"https://api.github.com/users/pybind","html_url":"https://github.com/pybind","followers_url":"https://api.github.com/users/pybind/followers","following_url":"https://api.github.com/users/pybind/following{/other_user}","gists_url":"https://api.github.com/users/pybind/gists{/gist_id}","starred_url":"https://api.github.com/users/pybind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pybind/subscriptions","organizations_url":"https://api.github.com/users/pybind/orgs","repos_url":"https://api.github.com/users/pybind/repos","events_url":"https://api.github.com/users/pybind/events{/privacy}","received_events_url":"https://api.github.com/users/pybind/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pybind/pybind11","description":"Seamless operability between C++11 and Python","fork":false,"url":"https://api.github.com/repos/pybind/pybind11","forks_url":"https://api.github.com/repos/pybind/pybind11/forks","keys_url":"https://api.github.com/repos/pybind/pybind11/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pybind/pybind11/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pybind/pybind11/teams","hooks_url":"https://api.github.com/repos/pybind/pybind11/hooks","issue_events_url":"https://api.github.com/repos/pybind/pybind11/issues/events{/number}","events_url":"https://api.github.com/repos/pybind/pybind11/events","assignees_url":"https://api.github.com/repos/pybind/pybind11/assignees{/user}","branches_url":"https://api.github.com/repos/pybind/pybind11/branches{/branch}","tags_url":"https://api.github.com/repos/pybind/pybind11/tags","blobs_url":"https://api.github.com/repos/pybind/pybind11/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pybind/pybind11/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pybind/pybind11/git/refs{/sha}","trees_url":"https://api.github.com/repos/pybind/pybind11/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pybind/pybind11/statuses/{sha}","languages_url":"https://api.github.com/repos/pybind/pybind11/languages","stargazers_url":"https://api.github.com/repos/pybind/pybind11/stargazers","contributors_url":"https://api.github.com/repos/pybind/pybind11/contributors","subscribers_url":"https://api.github.com/repos/pybind/pybind11/subscribers","subscription_url":"https://api.github.com/repos/pybind/pybind11/subscription","commits_url":"https://api.github.com/repos/pybind/pybind11/commits{/sha}","git_commits_url":"https://api.github.com/repos/pybind/pybind11/git/commits{/sha}","comments_url":"https://api.github.com/repos/pybind/pybind11/comments{/number}","issue_comment_url":"https://api.github.com/repos/pybind/pybind11/issues/comments{/number}","contents_url":"https://api.github.com/repos/pybind/pybind11/contents/{+path}","compare_url":"https://api.github.com/repos/pybind/pybind11/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pybind/pybind11/merges","archive_url":"https://api.github.com/repos/pybind/pybind11/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pybind/pybind11/downloads","issues_url":"https://api.github.com/repos/pybind/pybind11/issues{/number}","pulls_url":"https://api.github.com/repos/pybind/pybind11/pulls{/number}","milestones_url":"https://api.github.com/repos/pybind/pybind11/milestones{/number}","notifications_url":"https://api.github.com/repos/pybind/pybind11/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pybind/pybind11/labels{/name}","releases_url":"https://api.github.com/repos/pybind/pybind11/releases{/id}","deployments_url":"https://api.github.com/repos/pybind/pybind11/deployments","created_at":"2015-07-05T19:46:48Z","updated_at":"2016-03-08T17:26:28Z","pushed_at":"2016-03-10T21:48:38Z","git_url":"git://github.com/pybind/pybind11.git","ssh_url":"git@github.com:pybind/pybind11.git","clone_url":"https://github.com/pybind/pybind11.git","svn_url":"https://github.com/pybind/pybind11","homepage":null,"size":738,"stargazers_count":928,"watchers_count":928,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":65,"mirror_url":null,"open_issues_count":4,"forks":65,"open_issues":4,"watchers":928,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pybind/pybind11/pulls/135"},"html":{"href":"https://github.com/pybind/pybind11/pull/135"},"issue":{"href":"https://api.github.com/repos/pybind/pybind11/issues/135"},"comments":{"href":"https://api.github.com/repos/pybind/pybind11/issues/135/comments"},"review_comments":{"href":"https://api.github.com/repos/pybind/pybind11/pulls/135/comments"},"review_comment":{"href":"https://api.github.com/repos/pybind/pybind11/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pybind/pybind11/pulls/135/commits"},"statuses":{"href":"https://api.github.com/repos/pybind/pybind11/statuses/1b52246f5d6992d94210b29b0594f3d120e25681"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"wjakob","id":1203629,"avatar_url":"https://avatars.githubusercontent.com/u/1203629?v=3","gravatar_id":"","url":"https://api.github.com/users/wjakob","html_url":"https://github.com/wjakob","followers_url":"https://api.github.com/users/wjakob/followers","following_url":"https://api.github.com/users/wjakob/following{/other_user}","gists_url":"https://api.github.com/users/wjakob/gists{/gist_id}","starred_url":"https://api.github.com/users/wjakob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjakob/subscriptions","organizations_url":"https://api.github.com/users/wjakob/orgs","repos_url":"https://api.github.com/users/wjakob/repos","events_url":"https://api.github.com/users/wjakob/events{/privacy}","received_events_url":"https://api.github.com/users/wjakob/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":1,"additions":12,"deletions":2,"changed_files":4}}