{"action":"opened","number":8795,"pull_request":{"url":"https://api.github.com/repos/ipython/ipython/pulls/8795","id":44391169,"html_url":"https://github.com/ipython/ipython/pull/8795","diff_url":"https://github.com/ipython/ipython/pull/8795.diff","patch_url":"https://github.com/ipython/ipython/pull/8795.patch","issue_url":"https://api.github.com/repos/ipython/ipython/issues/8795","number":8795,"state":"open","locked":false,"title":"FIX/API: use inspect.signature for python3","user":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"body":"This allows functions with keyword-only arguments to have their signatures introspected.\r\n\r\nAlso makes this bit of code 3.6 compatible  (@Carreau I see your 3.5 and raise you a 3.6 :stuck_out_tongue_winking_eye: )\r\n\r\nFound this via working on https://github.com/matplotlib/matplotlib/pull/4829 where for python 3.3+ we mark the `data` kwarg as keyword-only.\r\n\r\nThis is a slight change in behavior as it makes all arguments, not just the optional ones.  This can easily be changed back, but leaving it for now as I would propose that including all arguments is a better behavior.","created_at":"2015-09-08T04:01:46Z","updated_at":"2015-09-08T04:01:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ipython/ipython/pulls/8795/commits","review_comments_url":"https://api.github.com/repos/ipython/ipython/pulls/8795/comments","review_comment_url":"https://api.github.com/repos/ipython/ipython/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/8795/comments","statuses_url":"https://api.github.com/repos/ipython/ipython/statuses/444c223ac4dcc902b9095366b643f3a9280215c2","head":{"label":"tacaswell:fix_kwonly_arg_complete","ref":"fix_kwonly_arg_complete","sha":"444c223ac4dcc902b9095366b643f3a9280215c2","user":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"repo":{"id":17255950,"name":"ipython","full_name":"tacaswell/ipython","owner":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tacaswell/ipython","description":"Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.","fork":true,"url":"https://api.github.com/repos/tacaswell/ipython","forks_url":"https://api.github.com/repos/tacaswell/ipython/forks","keys_url":"https://api.github.com/repos/tacaswell/ipython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tacaswell/ipython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tacaswell/ipython/teams","hooks_url":"https://api.github.com/repos/tacaswell/ipython/hooks","issue_events_url":"https://api.github.com/repos/tacaswell/ipython/issues/events{/number}","events_url":"https://api.github.com/repos/tacaswell/ipython/events","assignees_url":"https://api.github.com/repos/tacaswell/ipython/assignees{/user}","branches_url":"https://api.github.com/repos/tacaswell/ipython/branches{/branch}","tags_url":"https://api.github.com/repos/tacaswell/ipython/tags","blobs_url":"https://api.github.com/repos/tacaswell/ipython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tacaswell/ipython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tacaswell/ipython/git/refs{/sha}","trees_url":"https://api.github.com/repos/tacaswell/ipython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tacaswell/ipython/statuses/{sha}","languages_url":"https://api.github.com/repos/tacaswell/ipython/languages","stargazers_url":"https://api.github.com/repos/tacaswell/ipython/stargazers","contributors_url":"https://api.github.com/repos/tacaswell/ipython/contributors","subscribers_url":"https://api.github.com/repos/tacaswell/ipython/subscribers","subscription_url":"https://api.github.com/repos/tacaswell/ipython/subscription","commits_url":"https://api.github.com/repos/tacaswell/ipython/commits{/sha}","git_commits_url":"https://api.github.com/repos/tacaswell/ipython/git/commits{/sha}","comments_url":"https://api.github.com/repos/tacaswell/ipython/comments{/number}","issue_comment_url":"https://api.github.com/repos/tacaswell/ipython/issues/comments{/number}","contents_url":"https://api.github.com/repos/tacaswell/ipython/contents/{+path}","compare_url":"https://api.github.com/repos/tacaswell/ipython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tacaswell/ipython/merges","archive_url":"https://api.github.com/repos/tacaswell/ipython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tacaswell/ipython/downloads","issues_url":"https://api.github.com/repos/tacaswell/ipython/issues{/number}","pulls_url":"https://api.github.com/repos/tacaswell/ipython/pulls{/number}","milestones_url":"https://api.github.com/repos/tacaswell/ipython/milestones{/number}","notifications_url":"https://api.github.com/repos/tacaswell/ipython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tacaswell/ipython/labels{/name}","releases_url":"https://api.github.com/repos/tacaswell/ipython/releases{/id}","created_at":"2014-02-27T16:40:10Z","updated_at":"2014-03-28T19:21:10Z","pushed_at":"2015-09-08T04:00:36Z","git_url":"git://github.com/tacaswell/ipython.git","ssh_url":"git@github.com:tacaswell/ipython.git","clone_url":"https://github.com/tacaswell/ipython.git","svn_url":"https://github.com/tacaswell/ipython","homepage":"http://ipython.org","size":68736,"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":"ipython:master","ref":"master","sha":"d4467022292ebddb25085dfef27747c648d9940b","user":{"login":"ipython","id":230453,"avatar_url":"https://avatars.githubusercontent.com/u/230453?v=3","gravatar_id":"","url":"https://api.github.com/users/ipython","html_url":"https://github.com/ipython","followers_url":"https://api.github.com/users/ipython/followers","following_url":"https://api.github.com/users/ipython/following{/other_user}","gists_url":"https://api.github.com/users/ipython/gists{/gist_id}","starred_url":"https://api.github.com/users/ipython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipython/subscriptions","organizations_url":"https://api.github.com/users/ipython/orgs","repos_url":"https://api.github.com/users/ipython/repos","events_url":"https://api.github.com/users/ipython/events{/privacy}","received_events_url":"https://api.github.com/users/ipython/received_events","type":"Organization","site_admin":false},"repo":{"id":658518,"name":"ipython","full_name":"ipython/ipython","owner":{"login":"ipython","id":230453,"avatar_url":"https://avatars.githubusercontent.com/u/230453?v=3","gravatar_id":"","url":"https://api.github.com/users/ipython","html_url":"https://github.com/ipython","followers_url":"https://api.github.com/users/ipython/followers","following_url":"https://api.github.com/users/ipython/following{/other_user}","gists_url":"https://api.github.com/users/ipython/gists{/gist_id}","starred_url":"https://api.github.com/users/ipython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipython/subscriptions","organizations_url":"https://api.github.com/users/ipython/orgs","repos_url":"https://api.github.com/users/ipython/repos","events_url":"https://api.github.com/users/ipython/events{/privacy}","received_events_url":"https://api.github.com/users/ipython/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipython/ipython","description":"Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.","fork":false,"url":"https://api.github.com/repos/ipython/ipython","forks_url":"https://api.github.com/repos/ipython/ipython/forks","keys_url":"https://api.github.com/repos/ipython/ipython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipython/ipython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipython/ipython/teams","hooks_url":"https://api.github.com/repos/ipython/ipython/hooks","issue_events_url":"https://api.github.com/repos/ipython/ipython/issues/events{/number}","events_url":"https://api.github.com/repos/ipython/ipython/events","assignees_url":"https://api.github.com/repos/ipython/ipython/assignees{/user}","branches_url":"https://api.github.com/repos/ipython/ipython/branches{/branch}","tags_url":"https://api.github.com/repos/ipython/ipython/tags","blobs_url":"https://api.github.com/repos/ipython/ipython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipython/ipython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipython/ipython/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipython/ipython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipython/ipython/statuses/{sha}","languages_url":"https://api.github.com/repos/ipython/ipython/languages","stargazers_url":"https://api.github.com/repos/ipython/ipython/stargazers","contributors_url":"https://api.github.com/repos/ipython/ipython/contributors","subscribers_url":"https://api.github.com/repos/ipython/ipython/subscribers","subscription_url":"https://api.github.com/repos/ipython/ipython/subscription","commits_url":"https://api.github.com/repos/ipython/ipython/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipython/ipython/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipython/ipython/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipython/ipython/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipython/ipython/contents/{+path}","compare_url":"https://api.github.com/repos/ipython/ipython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipython/ipython/merges","archive_url":"https://api.github.com/repos/ipython/ipython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipython/ipython/downloads","issues_url":"https://api.github.com/repos/ipython/ipython/issues{/number}","pulls_url":"https://api.github.com/repos/ipython/ipython/pulls{/number}","milestones_url":"https://api.github.com/repos/ipython/ipython/milestones{/number}","notifications_url":"https://api.github.com/repos/ipython/ipython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipython/ipython/labels{/name}","releases_url":"https://api.github.com/repos/ipython/ipython/releases{/id}","created_at":"2010-05-10T04:46:06Z","updated_at":"2015-09-08T02:25:47Z","pushed_at":"2015-09-07T18:00:11Z","git_url":"git://github.com/ipython/ipython.git","ssh_url":"git@github.com:ipython/ipython.git","clone_url":"https://github.com/ipython/ipython.git","svn_url":"https://github.com/ipython/ipython","homepage":"http://ipython.org","size":110848,"stargazers_count":7357,"watchers_count":7357,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2178,"mirror_url":null,"open_issues_count":992,"forks":2178,"open_issues":992,"watchers":7357,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipython/ipython/pulls/8795"},"html":{"href":"https://github.com/ipython/ipython/pull/8795"},"issue":{"href":"https://api.github.com/repos/ipython/ipython/issues/8795"},"comments":{"href":"https://api.github.com/repos/ipython/ipython/issues/8795/comments"},"review_comments":{"href":"https://api.github.com/repos/ipython/ipython/pulls/8795/comments"},"review_comment":{"href":"https://api.github.com/repos/ipython/ipython/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ipython/ipython/pulls/8795/commits"},"statuses":{"href":"https://api.github.com/repos/ipython/ipython/statuses/444c223ac4dcc902b9095366b643f3a9280215c2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":6,"changed_files":1}}