{"action":"opened","number":11618,"pull_request":{"url":"https://api.github.com/repos/sympy/sympy/pulls/11618","id":85470193,"html_url":"https://github.com/sympy/sympy/pull/11618","diff_url":"https://github.com/sympy/sympy/pull/11618.diff","patch_url":"https://github.com/sympy/sympy/pull/11618.patch","issue_url":"https://api.github.com/repos/sympy/sympy/issues/11618","number":11618,"state":"open","locked":false,"title":"Improved distance() Function","user":{"login":"parsoyaarihant","id":15258498,"avatar_url":"https://avatars.githubusercontent.com/u/15258498?v=3","gravatar_id":"","url":"https://api.github.com/users/parsoyaarihant","html_url":"https://github.com/parsoyaarihant","followers_url":"https://api.github.com/users/parsoyaarihant/followers","following_url":"https://api.github.com/users/parsoyaarihant/following{/other_user}","gists_url":"https://api.github.com/users/parsoyaarihant/gists{/gist_id}","starred_url":"https://api.github.com/users/parsoyaarihant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parsoyaarihant/subscriptions","organizations_url":"https://api.github.com/users/parsoyaarihant/orgs","repos_url":"https://api.github.com/users/parsoyaarihant/repos","events_url":"https://api.github.com/users/parsoyaarihant/events{/privacy}","received_events_url":"https://api.github.com/users/parsoyaarihant/received_events","type":"User","site_admin":false},"body":"Fixes #11617.  Function `distance()` is improved to calculate distance between inputs of different dimensions.\r\n\r\n#### Sample Program:\r\n```python\r\n>>> from sympy import *\r\n>>> Point(2,0).distance(Point(1,0,2))\r\nsqrt(5)\r\n>>> Point(2,0,2).distance(Point(1,0))\r\nsqrt(5)\r\n```\r\n* Tests are added.","created_at":"2016-09-15T20:01:58Z","updated_at":"2016-09-15T20:01:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sympy/sympy/pulls/11618/commits","review_comments_url":"https://api.github.com/repos/sympy/sympy/pulls/11618/comments","review_comment_url":"https://api.github.com/repos/sympy/sympy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/11618/comments","statuses_url":"https://api.github.com/repos/sympy/sympy/statuses/af40819536a8e5facf941ceb4f742bcf4fa1f3f6","head":{"label":"parsoyaarihant:geometry","ref":"geometry","sha":"af40819536a8e5facf941ceb4f742bcf4fa1f3f6","user":{"login":"parsoyaarihant","id":15258498,"avatar_url":"https://avatars.githubusercontent.com/u/15258498?v=3","gravatar_id":"","url":"https://api.github.com/users/parsoyaarihant","html_url":"https://github.com/parsoyaarihant","followers_url":"https://api.github.com/users/parsoyaarihant/followers","following_url":"https://api.github.com/users/parsoyaarihant/following{/other_user}","gists_url":"https://api.github.com/users/parsoyaarihant/gists{/gist_id}","starred_url":"https://api.github.com/users/parsoyaarihant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parsoyaarihant/subscriptions","organizations_url":"https://api.github.com/users/parsoyaarihant/orgs","repos_url":"https://api.github.com/users/parsoyaarihant/repos","events_url":"https://api.github.com/users/parsoyaarihant/events{/privacy}","received_events_url":"https://api.github.com/users/parsoyaarihant/received_events","type":"User","site_admin":false},"repo":{"id":52705541,"name":"sympy","full_name":"parsoyaarihant/sympy","owner":{"login":"parsoyaarihant","id":15258498,"avatar_url":"https://avatars.githubusercontent.com/u/15258498?v=3","gravatar_id":"","url":"https://api.github.com/users/parsoyaarihant","html_url":"https://github.com/parsoyaarihant","followers_url":"https://api.github.com/users/parsoyaarihant/followers","following_url":"https://api.github.com/users/parsoyaarihant/following{/other_user}","gists_url":"https://api.github.com/users/parsoyaarihant/gists{/gist_id}","starred_url":"https://api.github.com/users/parsoyaarihant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parsoyaarihant/subscriptions","organizations_url":"https://api.github.com/users/parsoyaarihant/orgs","repos_url":"https://api.github.com/users/parsoyaarihant/repos","events_url":"https://api.github.com/users/parsoyaarihant/events{/privacy}","received_events_url":"https://api.github.com/users/parsoyaarihant/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/parsoyaarihant/sympy","description":"A computer algebra system written in pure Python","fork":true,"url":"https://api.github.com/repos/parsoyaarihant/sympy","forks_url":"https://api.github.com/repos/parsoyaarihant/sympy/forks","keys_url":"https://api.github.com/repos/parsoyaarihant/sympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parsoyaarihant/sympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parsoyaarihant/sympy/teams","hooks_url":"https://api.github.com/repos/parsoyaarihant/sympy/hooks","issue_events_url":"https://api.github.com/repos/parsoyaarihant/sympy/issues/events{/number}","events_url":"https://api.github.com/repos/parsoyaarihant/sympy/events","assignees_url":"https://api.github.com/repos/parsoyaarihant/sympy/assignees{/user}","branches_url":"https://api.github.com/repos/parsoyaarihant/sympy/branches{/branch}","tags_url":"https://api.github.com/repos/parsoyaarihant/sympy/tags","blobs_url":"https://api.github.com/repos/parsoyaarihant/sympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parsoyaarihant/sympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parsoyaarihant/sympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/parsoyaarihant/sympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parsoyaarihant/sympy/statuses/{sha}","languages_url":"https://api.github.com/repos/parsoyaarihant/sympy/languages","stargazers_url":"https://api.github.com/repos/parsoyaarihant/sympy/stargazers","contributors_url":"https://api.github.com/repos/parsoyaarihant/sympy/contributors","subscribers_url":"https://api.github.com/repos/parsoyaarihant/sympy/subscribers","subscription_url":"https://api.github.com/repos/parsoyaarihant/sympy/subscription","commits_url":"https://api.github.com/repos/parsoyaarihant/sympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/parsoyaarihant/sympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/parsoyaarihant/sympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/parsoyaarihant/sympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/parsoyaarihant/sympy/contents/{+path}","compare_url":"https://api.github.com/repos/parsoyaarihant/sympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parsoyaarihant/sympy/merges","archive_url":"https://api.github.com/repos/parsoyaarihant/sympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parsoyaarihant/sympy/downloads","issues_url":"https://api.github.com/repos/parsoyaarihant/sympy/issues{/number}","pulls_url":"https://api.github.com/repos/parsoyaarihant/sympy/pulls{/number}","milestones_url":"https://api.github.com/repos/parsoyaarihant/sympy/milestones{/number}","notifications_url":"https://api.github.com/repos/parsoyaarihant/sympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parsoyaarihant/sympy/labels{/name}","releases_url":"https://api.github.com/repos/parsoyaarihant/sympy/releases{/id}","deployments_url":"https://api.github.com/repos/parsoyaarihant/sympy/deployments","created_at":"2016-02-28T05:02:11Z","updated_at":"2016-02-28T05:02:17Z","pushed_at":"2016-09-15T19:58:12Z","git_url":"git://github.com/parsoyaarihant/sympy.git","ssh_url":"git@github.com:parsoyaarihant/sympy.git","clone_url":"https://github.com/parsoyaarihant/sympy.git","svn_url":"https://github.com/parsoyaarihant/sympy","homepage":"http://sympy.org/","size":74288,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"sympy:master","ref":"master","sha":"360290c4c401e386db60723ddb0109ed499c9f6e","user":{"login":"sympy","id":260832,"avatar_url":"https://avatars.githubusercontent.com/u/260832?v=3","gravatar_id":"","url":"https://api.github.com/users/sympy","html_url":"https://github.com/sympy","followers_url":"https://api.github.com/users/sympy/followers","following_url":"https://api.github.com/users/sympy/following{/other_user}","gists_url":"https://api.github.com/users/sympy/gists{/gist_id}","starred_url":"https://api.github.com/users/sympy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sympy/subscriptions","organizations_url":"https://api.github.com/users/sympy/orgs","repos_url":"https://api.github.com/users/sympy/repos","events_url":"https://api.github.com/users/sympy/events{/privacy}","received_events_url":"https://api.github.com/users/sympy/received_events","type":"Organization","site_admin":false},"repo":{"id":640534,"name":"sympy","full_name":"sympy/sympy","owner":{"login":"sympy","id":260832,"avatar_url":"https://avatars.githubusercontent.com/u/260832?v=3","gravatar_id":"","url":"https://api.github.com/users/sympy","html_url":"https://github.com/sympy","followers_url":"https://api.github.com/users/sympy/followers","following_url":"https://api.github.com/users/sympy/following{/other_user}","gists_url":"https://api.github.com/users/sympy/gists{/gist_id}","starred_url":"https://api.github.com/users/sympy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sympy/subscriptions","organizations_url":"https://api.github.com/users/sympy/orgs","repos_url":"https://api.github.com/users/sympy/repos","events_url":"https://api.github.com/users/sympy/events{/privacy}","received_events_url":"https://api.github.com/users/sympy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sympy/sympy","description":"A computer algebra system written in pure Python","fork":false,"url":"https://api.github.com/repos/sympy/sympy","forks_url":"https://api.github.com/repos/sympy/sympy/forks","keys_url":"https://api.github.com/repos/sympy/sympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sympy/sympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sympy/sympy/teams","hooks_url":"https://api.github.com/repos/sympy/sympy/hooks","issue_events_url":"https://api.github.com/repos/sympy/sympy/issues/events{/number}","events_url":"https://api.github.com/repos/sympy/sympy/events","assignees_url":"https://api.github.com/repos/sympy/sympy/assignees{/user}","branches_url":"https://api.github.com/repos/sympy/sympy/branches{/branch}","tags_url":"https://api.github.com/repos/sympy/sympy/tags","blobs_url":"https://api.github.com/repos/sympy/sympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sympy/sympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sympy/sympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sympy/sympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sympy/sympy/statuses/{sha}","languages_url":"https://api.github.com/repos/sympy/sympy/languages","stargazers_url":"https://api.github.com/repos/sympy/sympy/stargazers","contributors_url":"https://api.github.com/repos/sympy/sympy/contributors","subscribers_url":"https://api.github.com/repos/sympy/sympy/subscribers","subscription_url":"https://api.github.com/repos/sympy/sympy/subscription","commits_url":"https://api.github.com/repos/sympy/sympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sympy/sympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sympy/sympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sympy/sympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sympy/sympy/contents/{+path}","compare_url":"https://api.github.com/repos/sympy/sympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sympy/sympy/merges","archive_url":"https://api.github.com/repos/sympy/sympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sympy/sympy/downloads","issues_url":"https://api.github.com/repos/sympy/sympy/issues{/number}","pulls_url":"https://api.github.com/repos/sympy/sympy/pulls{/number}","milestones_url":"https://api.github.com/repos/sympy/sympy/milestones{/number}","notifications_url":"https://api.github.com/repos/sympy/sympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sympy/sympy/labels{/name}","releases_url":"https://api.github.com/repos/sympy/sympy/releases{/id}","deployments_url":"https://api.github.com/repos/sympy/sympy/deployments","created_at":"2010-04-30T20:37:14Z","updated_at":"2016-09-15T19:44:53Z","pushed_at":"2016-09-15T20:01:58Z","git_url":"git://github.com/sympy/sympy.git","ssh_url":"git@github.com:sympy/sympy.git","clone_url":"https://github.com/sympy/sympy.git","svn_url":"https://github.com/sympy/sympy","homepage":"http://sympy.org/","size":116567,"stargazers_count":3136,"watchers_count":3136,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1576,"mirror_url":null,"open_issues_count":2518,"forks":1576,"open_issues":2518,"watchers":3136,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sympy/sympy/pulls/11618"},"html":{"href":"https://github.com/sympy/sympy/pull/11618"},"issue":{"href":"https://api.github.com/repos/sympy/sympy/issues/11618"},"comments":{"href":"https://api.github.com/repos/sympy/sympy/issues/11618/comments"},"review_comments":{"href":"https://api.github.com/repos/sympy/sympy/pulls/11618/comments"},"review_comment":{"href":"https://api.github.com/repos/sympy/sympy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sympy/sympy/pulls/11618/commits"},"statuses":{"href":"https://api.github.com/repos/sympy/sympy/statuses/af40819536a8e5facf941ceb4f742bcf4fa1f3f6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"parsoyaarihant"}}