{"action":"created","comment":{"url":"https://api.github.com/repos/sympy/sympy/pulls/comments/62707306","id":62707306,"diff_hunk":"@@ -728,6 +728,10 @@ def _print_Tr(self, expr):\n         #TODO : Handle indices\n         return \"%s(%s)\" % (\"Tr\", self._print(expr.args[0]))\n \n+    def _print_DifferentialOperator(self, expr):\n+        print_str = expr.str()","path":"sympy/printing/str.py","position":5,"original_position":5,"commit_id":"645c651c1f593f3a810704b607d6ec5fa127d5d2","original_commit_id":"645c651c1f593f3a810704b607d6ec5fa127d5d2","user":{"login":"asmeurer","id":71486,"avatar_url":"https://avatars.githubusercontent.com/u/71486?v=3","gravatar_id":"","url":"https://api.github.com/users/asmeurer","html_url":"https://github.com/asmeurer","followers_url":"https://api.github.com/users/asmeurer/followers","following_url":"https://api.github.com/users/asmeurer/following{/other_user}","gists_url":"https://api.github.com/users/asmeurer/gists{/gist_id}","starred_url":"https://api.github.com/users/asmeurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmeurer/subscriptions","organizations_url":"https://api.github.com/users/asmeurer/orgs","repos_url":"https://api.github.com/users/asmeurer/repos","events_url":"https://api.github.com/users/asmeurer/events{/privacy}","received_events_url":"https://api.github.com/users/asmeurer/received_events","type":"User","site_admin":false},"body":"Put the actual printer here. Also, the `str` printer should always be valid Python, which recreates the class (use the pretty printer for fancy printing). And make sure to use `self._print` to recursively print subexpresions. ","created_at":"2016-05-10T16:41:41Z","updated_at":"2016-05-10T16:41:41Z","html_url":"https://github.com/sympy/sympy/pull/10793#discussion_r62707306","pull_request_url":"https://api.github.com/repos/sympy/sympy/pulls/10793","_links":{"self":{"href":"https://api.github.com/repos/sympy/sympy/pulls/comments/62707306"},"html":{"href":"https://github.com/sympy/sympy/pull/10793#discussion_r62707306"},"pull_request":{"href":"https://api.github.com/repos/sympy/sympy/pulls/10793"}}},"pull_request":{"url":"https://api.github.com/repos/sympy/sympy/pulls/10793","id":62544585,"html_url":"https://github.com/sympy/sympy/pull/10793","diff_url":"https://github.com/sympy/sympy/pull/10793.diff","patch_url":"https://github.com/sympy/sympy/pull/10793.patch","issue_url":"https://api.github.com/repos/sympy/sympy/issues/10793","number":10793,"state":"open","locked":false,"title":"[WIP] A basic representation of Holonomic Functions and Differential Operator","user":{"login":"shubhamtibra","id":9497860,"avatar_url":"https://avatars.githubusercontent.com/u/9497860?v=3","gravatar_id":"","url":"https://api.github.com/users/shubhamtibra","html_url":"https://github.com/shubhamtibra","followers_url":"https://api.github.com/users/shubhamtibra/followers","following_url":"https://api.github.com/users/shubhamtibra/following{/other_user}","gists_url":"https://api.github.com/users/shubhamtibra/gists{/gist_id}","starred_url":"https://api.github.com/users/shubhamtibra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubhamtibra/subscriptions","organizations_url":"https://api.github.com/users/shubhamtibra/orgs","repos_url":"https://api.github.com/users/shubhamtibra/repos","events_url":"https://api.github.com/users/shubhamtibra/events{/privacy}","received_events_url":"https://api.github.com/users/shubhamtibra/received_events","type":"User","site_admin":false},"body":"- [x] Added HoloFunc class\r\n\r\n- [x]  Added DifferentialOperator class\r\n\r\n- [x] Added Tests\r\n\r\nBasic classes to represent a holonomic function and differential operator. Addition of Holonomic Function is implemented.\r\nPing @certik @fredrik-johansson ","created_at":"2016-03-11T13:44:57Z","updated_at":"2016-05-10T16:41:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd3c3e1a66f1ae3901c569dc7898890a63920b12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sympy/sympy/pulls/10793/commits","review_comments_url":"https://api.github.com/repos/sympy/sympy/pulls/10793/comments","review_comment_url":"https://api.github.com/repos/sympy/sympy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/10793/comments","statuses_url":"https://api.github.com/repos/sympy/sympy/statuses/645c651c1f593f3a810704b607d6ec5fa127d5d2","head":{"label":"shubhamtibra:holonomicfunction","ref":"holonomicfunction","sha":"645c651c1f593f3a810704b607d6ec5fa127d5d2","user":{"login":"shubhamtibra","id":9497860,"avatar_url":"https://avatars.githubusercontent.com/u/9497860?v=3","gravatar_id":"","url":"https://api.github.com/users/shubhamtibra","html_url":"https://github.com/shubhamtibra","followers_url":"https://api.github.com/users/shubhamtibra/followers","following_url":"https://api.github.com/users/shubhamtibra/following{/other_user}","gists_url":"https://api.github.com/users/shubhamtibra/gists{/gist_id}","starred_url":"https://api.github.com/users/shubhamtibra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubhamtibra/subscriptions","organizations_url":"https://api.github.com/users/shubhamtibra/orgs","repos_url":"https://api.github.com/users/shubhamtibra/repos","events_url":"https://api.github.com/users/shubhamtibra/events{/privacy}","received_events_url":"https://api.github.com/users/shubhamtibra/received_events","type":"User","site_admin":false},"repo":{"id":50028601,"name":"sympy","full_name":"shubhamtibra/sympy","owner":{"login":"shubhamtibra","id":9497860,"avatar_url":"https://avatars.githubusercontent.com/u/9497860?v=3","gravatar_id":"","url":"https://api.github.com/users/shubhamtibra","html_url":"https://github.com/shubhamtibra","followers_url":"https://api.github.com/users/shubhamtibra/followers","following_url":"https://api.github.com/users/shubhamtibra/following{/other_user}","gists_url":"https://api.github.com/users/shubhamtibra/gists{/gist_id}","starred_url":"https://api.github.com/users/shubhamtibra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubhamtibra/subscriptions","organizations_url":"https://api.github.com/users/shubhamtibra/orgs","repos_url":"https://api.github.com/users/shubhamtibra/repos","events_url":"https://api.github.com/users/shubhamtibra/events{/privacy}","received_events_url":"https://api.github.com/users/shubhamtibra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shubhamtibra/sympy","description":"A computer algebra system written in pure Python","fork":true,"url":"https://api.github.com/repos/shubhamtibra/sympy","forks_url":"https://api.github.com/repos/shubhamtibra/sympy/forks","keys_url":"https://api.github.com/repos/shubhamtibra/sympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shubhamtibra/sympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shubhamtibra/sympy/teams","hooks_url":"https://api.github.com/repos/shubhamtibra/sympy/hooks","issue_events_url":"https://api.github.com/repos/shubhamtibra/sympy/issues/events{/number}","events_url":"https://api.github.com/repos/shubhamtibra/sympy/events","assignees_url":"https://api.github.com/repos/shubhamtibra/sympy/assignees{/user}","branches_url":"https://api.github.com/repos/shubhamtibra/sympy/branches{/branch}","tags_url":"https://api.github.com/repos/shubhamtibra/sympy/tags","blobs_url":"https://api.github.com/repos/shubhamtibra/sympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shubhamtibra/sympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shubhamtibra/sympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/shubhamtibra/sympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shubhamtibra/sympy/statuses/{sha}","languages_url":"https://api.github.com/repos/shubhamtibra/sympy/languages","stargazers_url":"https://api.github.com/repos/shubhamtibra/sympy/stargazers","contributors_url":"https://api.github.com/repos/shubhamtibra/sympy/contributors","subscribers_url":"https://api.github.com/repos/shubhamtibra/sympy/subscribers","subscription_url":"https://api.github.com/repos/shubhamtibra/sympy/subscription","commits_url":"https://api.github.com/repos/shubhamtibra/sympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/shubhamtibra/sympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/shubhamtibra/sympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/shubhamtibra/sympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/shubhamtibra/sympy/contents/{+path}","compare_url":"https://api.github.com/repos/shubhamtibra/sympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shubhamtibra/sympy/merges","archive_url":"https://api.github.com/repos/shubhamtibra/sympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shubhamtibra/sympy/downloads","issues_url":"https://api.github.com/repos/shubhamtibra/sympy/issues{/number}","pulls_url":"https://api.github.com/repos/shubhamtibra/sympy/pulls{/number}","milestones_url":"https://api.github.com/repos/shubhamtibra/sympy/milestones{/number}","notifications_url":"https://api.github.com/repos/shubhamtibra/sympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shubhamtibra/sympy/labels{/name}","releases_url":"https://api.github.com/repos/shubhamtibra/sympy/releases{/id}","deployments_url":"https://api.github.com/repos/shubhamtibra/sympy/deployments","created_at":"2016-01-20T12:27:50Z","updated_at":"2016-01-20T12:27:56Z","pushed_at":"2016-05-10T11:16:50Z","git_url":"git://github.com/shubhamtibra/sympy.git","ssh_url":"git@github.com:shubhamtibra/sympy.git","clone_url":"https://github.com/shubhamtibra/sympy.git","svn_url":"https://github.com/shubhamtibra/sympy","homepage":"http://sympy.org/","size":75810,"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":"sympy:master","ref":"master","sha":"ef47677483b2f29d0b8e6a0eb45de72b2e34477d","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-05-10T14:58:24Z","pushed_at":"2016-05-10T13:54:50Z","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":117195,"stargazers_count":2836,"watchers_count":2836,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1451,"mirror_url":null,"open_issues_count":2329,"forks":1451,"open_issues":2329,"watchers":2836,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sympy/sympy/pulls/10793"},"html":{"href":"https://github.com/sympy/sympy/pull/10793"},"issue":{"href":"https://api.github.com/repos/sympy/sympy/issues/10793"},"comments":{"href":"https://api.github.com/repos/sympy/sympy/issues/10793/comments"},"review_comments":{"href":"https://api.github.com/repos/sympy/sympy/pulls/10793/comments"},"review_comment":{"href":"https://api.github.com/repos/sympy/sympy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sympy/sympy/pulls/10793/commits"},"statuses":{"href":"https://api.github.com/repos/sympy/sympy/statuses/645c651c1f593f3a810704b607d6ec5fa127d5d2"}}}}