{"action":"created","comment":{"url":"https://api.github.com/repos/siefkenj/sympy/pulls/comments/79003372","id":79003372,"diff_hunk":"@@ -623,22 +716,16 @@ class Point2D(Point):\n     \"\"\"\n     def __new__(cls, *args, **kwargs):\n         eval = kwargs.get('evaluate', global_evaluate[0])\n-        check = True\n-        if isinstance(args[0], Point2D):\n+\n+        if len(args) == 1:\n+            args = args[0]\n+        coords = Point.pointify(args, dimension=2,\n+            strict=True, ensure_point=False)","path":"sympy/geometry/point.py","position":415,"original_position":415,"commit_id":"6777a0c04170168d5faf2c3679edc3c7123a35a7","original_commit_id":"6777a0c04170168d5faf2c3679edc3c7123a35a7","user":{"login":"siefkenj","id":839083,"avatar_url":"https://avatars.githubusercontent.com/u/839083?v=3","gravatar_id":"","url":"https://api.github.com/users/siefkenj","html_url":"https://github.com/siefkenj","followers_url":"https://api.github.com/users/siefkenj/followers","following_url":"https://api.github.com/users/siefkenj/following{/other_user}","gists_url":"https://api.github.com/users/siefkenj/gists{/gist_id}","starred_url":"https://api.github.com/users/siefkenj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siefkenj/subscriptions","organizations_url":"https://api.github.com/users/siefkenj/orgs","repos_url":"https://api.github.com/users/siefkenj/repos","events_url":"https://api.github.com/users/siefkenj/events{/privacy}","received_events_url":"https://api.github.com/users/siefkenj/received_events","type":"User","site_admin":false},"body":"Interesting use of `ensure_point=False`","created_at":"2016-09-15T16:16:26Z","updated_at":"2016-09-15T16:16:26Z","html_url":"https://github.com/siefkenj/sympy/pull/1#discussion_r79003372","pull_request_url":"https://api.github.com/repos/siefkenj/sympy/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/siefkenj/sympy/pulls/comments/79003372"},"html":{"href":"https://github.com/siefkenj/sympy/pull/1#discussion_r79003372"},"pull_request":{"href":"https://api.github.com/repos/siefkenj/sympy/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/siefkenj/sympy/pulls/1","id":85399928,"html_url":"https://github.com/siefkenj/sympy/pull/1","diff_url":"https://github.com/siefkenj/sympy/pull/1.diff","patch_url":"https://github.com/siefkenj/sympy/pull/1.patch","issue_url":"https://api.github.com/repos/siefkenj/sympy/issues/1","number":1,"state":"open","locked":false,"title":"wip","user":{"login":"smichr","id":90703,"avatar_url":"https://avatars.githubusercontent.com/u/90703?v=3","gravatar_id":"","url":"https://api.github.com/users/smichr","html_url":"https://github.com/smichr","followers_url":"https://api.github.com/users/smichr/followers","following_url":"https://api.github.com/users/smichr/following{/other_user}","gists_url":"https://api.github.com/users/smichr/gists{/gist_id}","starred_url":"https://api.github.com/users/smichr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smichr/subscriptions","organizations_url":"https://api.github.com/users/smichr/orgs","repos_url":"https://api.github.com/users/smichr/repos","events_url":"https://api.github.com/users/smichr/events{/privacy}","received_events_url":"https://api.github.com/users/smichr/received_events","type":"User","site_admin":false},"body":"@siefkenj , I will leave some comments in the code that I have made. We can discuss those here before this gets merged to your branch, #11241.","created_at":"2016-09-15T13:05:45Z","updated_at":"2016-09-15T16:34:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f82b3cdb02c2b29b465ccd589127ad6b44fad4a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/siefkenj/sympy/pulls/1/commits","review_comments_url":"https://api.github.com/repos/siefkenj/sympy/pulls/1/comments","review_comment_url":"https://api.github.com/repos/siefkenj/sympy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/siefkenj/sympy/issues/1/comments","statuses_url":"https://api.github.com/repos/siefkenj/sympy/statuses/6777a0c04170168d5faf2c3679edc3c7123a35a7","head":{"label":"smichr:generalize_cps","ref":"generalize_cps","sha":"6777a0c04170168d5faf2c3679edc3c7123a35a7","user":{"login":"smichr","id":90703,"avatar_url":"https://avatars.githubusercontent.com/u/90703?v=3","gravatar_id":"","url":"https://api.github.com/users/smichr","html_url":"https://github.com/smichr","followers_url":"https://api.github.com/users/smichr/followers","following_url":"https://api.github.com/users/smichr/following{/other_user}","gists_url":"https://api.github.com/users/smichr/gists{/gist_id}","starred_url":"https://api.github.com/users/smichr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smichr/subscriptions","organizations_url":"https://api.github.com/users/smichr/orgs","repos_url":"https://api.github.com/users/smichr/repos","events_url":"https://api.github.com/users/smichr/events{/privacy}","received_events_url":"https://api.github.com/users/smichr/received_events","type":"User","site_admin":false},"repo":{"id":1050285,"name":"sympy","full_name":"smichr/sympy","owner":{"login":"smichr","id":90703,"avatar_url":"https://avatars.githubusercontent.com/u/90703?v=3","gravatar_id":"","url":"https://api.github.com/users/smichr","html_url":"https://github.com/smichr","followers_url":"https://api.github.com/users/smichr/followers","following_url":"https://api.github.com/users/smichr/following{/other_user}","gists_url":"https://api.github.com/users/smichr/gists{/gist_id}","starred_url":"https://api.github.com/users/smichr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smichr/subscriptions","organizations_url":"https://api.github.com/users/smichr/orgs","repos_url":"https://api.github.com/users/smichr/repos","events_url":"https://api.github.com/users/smichr/events{/privacy}","received_events_url":"https://api.github.com/users/smichr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smichr/sympy","description":"SymPy main development repo","fork":true,"url":"https://api.github.com/repos/smichr/sympy","forks_url":"https://api.github.com/repos/smichr/sympy/forks","keys_url":"https://api.github.com/repos/smichr/sympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smichr/sympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smichr/sympy/teams","hooks_url":"https://api.github.com/repos/smichr/sympy/hooks","issue_events_url":"https://api.github.com/repos/smichr/sympy/issues/events{/number}","events_url":"https://api.github.com/repos/smichr/sympy/events","assignees_url":"https://api.github.com/repos/smichr/sympy/assignees{/user}","branches_url":"https://api.github.com/repos/smichr/sympy/branches{/branch}","tags_url":"https://api.github.com/repos/smichr/sympy/tags","blobs_url":"https://api.github.com/repos/smichr/sympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smichr/sympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smichr/sympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/smichr/sympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smichr/sympy/statuses/{sha}","languages_url":"https://api.github.com/repos/smichr/sympy/languages","stargazers_url":"https://api.github.com/repos/smichr/sympy/stargazers","contributors_url":"https://api.github.com/repos/smichr/sympy/contributors","subscribers_url":"https://api.github.com/repos/smichr/sympy/subscribers","subscription_url":"https://api.github.com/repos/smichr/sympy/subscription","commits_url":"https://api.github.com/repos/smichr/sympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/smichr/sympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/smichr/sympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/smichr/sympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/smichr/sympy/contents/{+path}","compare_url":"https://api.github.com/repos/smichr/sympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smichr/sympy/merges","archive_url":"https://api.github.com/repos/smichr/sympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smichr/sympy/downloads","issues_url":"https://api.github.com/repos/smichr/sympy/issues{/number}","pulls_url":"https://api.github.com/repos/smichr/sympy/pulls{/number}","milestones_url":"https://api.github.com/repos/smichr/sympy/milestones{/number}","notifications_url":"https://api.github.com/repos/smichr/sympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smichr/sympy/labels{/name}","releases_url":"https://api.github.com/repos/smichr/sympy/releases{/id}","deployments_url":"https://api.github.com/repos/smichr/sympy/deployments","created_at":"2010-11-04T05:52:58Z","updated_at":"2016-03-05T02:43:43Z","pushed_at":"2016-09-15T14:04:10Z","git_url":"git://github.com/smichr/sympy.git","ssh_url":"git@github.com:smichr/sympy.git","clone_url":"https://github.com/smichr/sympy.git","svn_url":"https://github.com/smichr/sympy","homepage":"http://sympy.org/","size":76979,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":9,"default_branch":"master"}},"base":{"label":"siefkenj:generalize","ref":"generalize","sha":"a9d0072530846a5746b995bed5587fda28aa9188","user":{"login":"siefkenj","id":839083,"avatar_url":"https://avatars.githubusercontent.com/u/839083?v=3","gravatar_id":"","url":"https://api.github.com/users/siefkenj","html_url":"https://github.com/siefkenj","followers_url":"https://api.github.com/users/siefkenj/followers","following_url":"https://api.github.com/users/siefkenj/following{/other_user}","gists_url":"https://api.github.com/users/siefkenj/gists{/gist_id}","starred_url":"https://api.github.com/users/siefkenj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siefkenj/subscriptions","organizations_url":"https://api.github.com/users/siefkenj/orgs","repos_url":"https://api.github.com/users/siefkenj/repos","events_url":"https://api.github.com/users/siefkenj/events{/privacy}","received_events_url":"https://api.github.com/users/siefkenj/received_events","type":"User","site_admin":false},"repo":{"id":36543800,"name":"sympy","full_name":"siefkenj/sympy","owner":{"login":"siefkenj","id":839083,"avatar_url":"https://avatars.githubusercontent.com/u/839083?v=3","gravatar_id":"","url":"https://api.github.com/users/siefkenj","html_url":"https://github.com/siefkenj","followers_url":"https://api.github.com/users/siefkenj/followers","following_url":"https://api.github.com/users/siefkenj/following{/other_user}","gists_url":"https://api.github.com/users/siefkenj/gists{/gist_id}","starred_url":"https://api.github.com/users/siefkenj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siefkenj/subscriptions","organizations_url":"https://api.github.com/users/siefkenj/orgs","repos_url":"https://api.github.com/users/siefkenj/repos","events_url":"https://api.github.com/users/siefkenj/events{/privacy}","received_events_url":"https://api.github.com/users/siefkenj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/siefkenj/sympy","description":"A computer algebra system written in pure Python","fork":true,"url":"https://api.github.com/repos/siefkenj/sympy","forks_url":"https://api.github.com/repos/siefkenj/sympy/forks","keys_url":"https://api.github.com/repos/siefkenj/sympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/siefkenj/sympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/siefkenj/sympy/teams","hooks_url":"https://api.github.com/repos/siefkenj/sympy/hooks","issue_events_url":"https://api.github.com/repos/siefkenj/sympy/issues/events{/number}","events_url":"https://api.github.com/repos/siefkenj/sympy/events","assignees_url":"https://api.github.com/repos/siefkenj/sympy/assignees{/user}","branches_url":"https://api.github.com/repos/siefkenj/sympy/branches{/branch}","tags_url":"https://api.github.com/repos/siefkenj/sympy/tags","blobs_url":"https://api.github.com/repos/siefkenj/sympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/siefkenj/sympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/siefkenj/sympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/siefkenj/sympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/siefkenj/sympy/statuses/{sha}","languages_url":"https://api.github.com/repos/siefkenj/sympy/languages","stargazers_url":"https://api.github.com/repos/siefkenj/sympy/stargazers","contributors_url":"https://api.github.com/repos/siefkenj/sympy/contributors","subscribers_url":"https://api.github.com/repos/siefkenj/sympy/subscribers","subscription_url":"https://api.github.com/repos/siefkenj/sympy/subscription","commits_url":"https://api.github.com/repos/siefkenj/sympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/siefkenj/sympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/siefkenj/sympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/siefkenj/sympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/siefkenj/sympy/contents/{+path}","compare_url":"https://api.github.com/repos/siefkenj/sympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/siefkenj/sympy/merges","archive_url":"https://api.github.com/repos/siefkenj/sympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/siefkenj/sympy/downloads","issues_url":"https://api.github.com/repos/siefkenj/sympy/issues{/number}","pulls_url":"https://api.github.com/repos/siefkenj/sympy/pulls{/number}","milestones_url":"https://api.github.com/repos/siefkenj/sympy/milestones{/number}","notifications_url":"https://api.github.com/repos/siefkenj/sympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/siefkenj/sympy/labels{/name}","releases_url":"https://api.github.com/repos/siefkenj/sympy/releases{/id}","deployments_url":"https://api.github.com/repos/siefkenj/sympy/deployments","created_at":"2015-05-30T04:53:26Z","updated_at":"2016-06-10T02:26:12Z","pushed_at":"2016-09-15T14:04:11Z","git_url":"git://github.com/siefkenj/sympy.git","ssh_url":"git@github.com:siefkenj/sympy.git","clone_url":"https://github.com/siefkenj/sympy.git","svn_url":"https://github.com/siefkenj/sympy","homepage":"http://sympy.org/","size":75075,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/siefkenj/sympy/pulls/1"},"html":{"href":"https://github.com/siefkenj/sympy/pull/1"},"issue":{"href":"https://api.github.com/repos/siefkenj/sympy/issues/1"},"comments":{"href":"https://api.github.com/repos/siefkenj/sympy/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/siefkenj/sympy/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/siefkenj/sympy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/siefkenj/sympy/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/siefkenj/sympy/statuses/6777a0c04170168d5faf2c3679edc3c7123a35a7"}}}}
{"actor":{"display_login":"siefkenj"}}