{"action":"created","comment":{"url":"https://api.github.com/repos/praw-dev/praw/pulls/comments/38265254","id":38265254,"diff_hunk":"@@ -126,3 +131,75 @@ The full program\n         if comment.body == \"Hello\" and comment.id not in already_done:\n             comment.reply(' world!')\n             already_done.add(comment.id)\n+\n+Navigating Trees\n+------------------","path":"docs/pages/comment_parsing.rst","position":53,"original_position":53,"commit_id":"a301ff2ed65c9f997d8b4955727ec278cfa4ca04","original_commit_id":"a301ff2ed65c9f997d8b4955727ec278cfa4ca04","user":{"login":"bboe","id":48100,"avatar_url":"https://avatars.githubusercontent.com/u/48100?v=3","gravatar_id":"","url":"https://api.github.com/users/bboe","html_url":"https://github.com/bboe","followers_url":"https://api.github.com/users/bboe/followers","following_url":"https://api.github.com/users/bboe/following{/other_user}","gists_url":"https://api.github.com/users/bboe/gists{/gist_id}","starred_url":"https://api.github.com/users/bboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboe/subscriptions","organizations_url":"https://api.github.com/users/bboe/orgs","repos_url":"https://api.github.com/users/bboe/repos","events_url":"https://api.github.com/users/bboe/events{/privacy}","received_events_url":"https://api.github.com/users/bboe/received_events","type":"User","site_admin":false},"body":"The number of `-` exceeds the line length above.","created_at":"2015-08-29T19:45:28Z","updated_at":"2015-08-29T19:45:28Z","html_url":"https://github.com/praw-dev/praw/pull/512#discussion_r38265254","pull_request_url":"https://api.github.com/repos/praw-dev/praw/pulls/512","_links":{"self":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/comments/38265254"},"html":{"href":"https://github.com/praw-dev/praw/pull/512#discussion_r38265254"},"pull_request":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/512"}}},"pull_request":{"url":"https://api.github.com/repos/praw-dev/praw/pulls/512","id":43685192,"html_url":"https://github.com/praw-dev/praw/pull/512","diff_url":"https://github.com/praw-dev/praw/pull/512.diff","patch_url":"https://github.com/praw-dev/praw/pull/512.patch","issue_url":"https://api.github.com/repos/praw-dev/praw/issues/512","number":512,"state":"open","locked":false,"title":"PRAW - The TREES Update!","user":{"login":"13steinj","id":10525230,"avatar_url":"https://avatars.githubusercontent.com/u/10525230?v=3","gravatar_id":"","url":"https://api.github.com/users/13steinj","html_url":"https://github.com/13steinj","followers_url":"https://api.github.com/users/13steinj/followers","following_url":"https://api.github.com/users/13steinj/following{/other_user}","gists_url":"https://api.github.com/users/13steinj/gists{/gist_id}","starred_url":"https://api.github.com/users/13steinj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/13steinj/subscriptions","organizations_url":"https://api.github.com/users/13steinj/orgs","repos_url":"https://api.github.com/users/13steinj/repos","events_url":"https://api.github.com/users/13steinj/events{/privacy}","received_events_url":"https://api.github.com/users/13steinj/received_events","type":"User","site_admin":false},"body":"<p align=\"center\"><img src=\"http://rosettacode.org/mw/images/2/26/PB_FractalTree.png\" align=\"center\"></p>\r\n\r\n<h1>Abstract</h1>\r\n\r\n<p>When using the <code>get_submission</code> method on a permalink, the root of the comment forest starts at that comment. Instead of treating this as a bug, since it is actually in the FAQ, it should be treated as a feature and expanded on.</p>\r\n\r\n<h1>Status</h1>\r\nComplete, but Annoyances need to be addressed.\r\n<h1>Resolves</h1>\r\n\r\n* ~~May fix #362  and #391 though I've not tested it.~~ Nevermind, I mistook something.\r\n* #475 \r\n* #479 \r\n* #500 \r\n* #511 \r\n\r\n<h1>Adds</h1>\r\n\r\n* A way to get a submission object with the root of a comment and the submission id so that the comment forest starts at that comment\r\n* A way to get the Comment object's context, parent, improved way to get the submission, and tree.\r\n   * More functionality when getting the tree, and that functionality is also included in the above\r\n* Documentation regarding comments\r\n\r\n<h1>Annoyance(s)</h1>\r\n\r\nFor the new comment object related methods, sometimes the user may not want to get the submission object with the special forest root, but instead, just that special forest itself. While certainly possible, after doing such one can not use the `replace_more_comments` function due to the fact that it is a method of the `Submission` object.\r\n\r\n<h2>Proposals</h2>\r\n\r\nMove `replace_more_comments` to be a helper, and allow it to work on trees instead, since there are other versions of the \"load more\" objects, such as in modmail. I would do this but I lack the comprehension as to how to do so.\r\n\r\nIf this is actually impossible, an alternate proposal would be that I could add a boolean keyword argument to the new methods on Comment objects.\r\n\r\nNeither of the above are actually needed, but may provide some convenience for users","created_at":"2015-08-29T00:59:55Z","updated_at":"2015-08-29T19:45:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b06c089e348b37b227e3974449e93d8efac57273","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/praw-dev/praw/pulls/512/commits","review_comments_url":"https://api.github.com/repos/praw-dev/praw/pulls/512/comments","review_comment_url":"https://api.github.com/repos/praw-dev/praw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/praw-dev/praw/issues/512/comments","statuses_url":"https://api.github.com/repos/praw-dev/praw/statuses/a301ff2ed65c9f997d8b4955727ec278cfa4ca04","head":{"label":"13steinj:CommentMethods","ref":"CommentMethods","sha":"a301ff2ed65c9f997d8b4955727ec278cfa4ca04","user":{"login":"13steinj","id":10525230,"avatar_url":"https://avatars.githubusercontent.com/u/10525230?v=3","gravatar_id":"","url":"https://api.github.com/users/13steinj","html_url":"https://github.com/13steinj","followers_url":"https://api.github.com/users/13steinj/followers","following_url":"https://api.github.com/users/13steinj/following{/other_user}","gists_url":"https://api.github.com/users/13steinj/gists{/gist_id}","starred_url":"https://api.github.com/users/13steinj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/13steinj/subscriptions","organizations_url":"https://api.github.com/users/13steinj/orgs","repos_url":"https://api.github.com/users/13steinj/repos","events_url":"https://api.github.com/users/13steinj/events{/privacy}","received_events_url":"https://api.github.com/users/13steinj/received_events","type":"User","site_admin":false},"repo":{"id":39433188,"name":"praw","full_name":"13steinj/praw","owner":{"login":"13steinj","id":10525230,"avatar_url":"https://avatars.githubusercontent.com/u/10525230?v=3","gravatar_id":"","url":"https://api.github.com/users/13steinj","html_url":"https://github.com/13steinj","followers_url":"https://api.github.com/users/13steinj/followers","following_url":"https://api.github.com/users/13steinj/following{/other_user}","gists_url":"https://api.github.com/users/13steinj/gists{/gist_id}","starred_url":"https://api.github.com/users/13steinj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/13steinj/subscriptions","organizations_url":"https://api.github.com/users/13steinj/orgs","repos_url":"https://api.github.com/users/13steinj/repos","events_url":"https://api.github.com/users/13steinj/events{/privacy}","received_events_url":"https://api.github.com/users/13steinj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/13steinj/praw","description":"PRAW, an acronym for \"Python Reddit API Wrapper\", is a python package that allows for simple access to reddit's API.","fork":true,"url":"https://api.github.com/repos/13steinj/praw","forks_url":"https://api.github.com/repos/13steinj/praw/forks","keys_url":"https://api.github.com/repos/13steinj/praw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/13steinj/praw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/13steinj/praw/teams","hooks_url":"https://api.github.com/repos/13steinj/praw/hooks","issue_events_url":"https://api.github.com/repos/13steinj/praw/issues/events{/number}","events_url":"https://api.github.com/repos/13steinj/praw/events","assignees_url":"https://api.github.com/repos/13steinj/praw/assignees{/user}","branches_url":"https://api.github.com/repos/13steinj/praw/branches{/branch}","tags_url":"https://api.github.com/repos/13steinj/praw/tags","blobs_url":"https://api.github.com/repos/13steinj/praw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/13steinj/praw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/13steinj/praw/git/refs{/sha}","trees_url":"https://api.github.com/repos/13steinj/praw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/13steinj/praw/statuses/{sha}","languages_url":"https://api.github.com/repos/13steinj/praw/languages","stargazers_url":"https://api.github.com/repos/13steinj/praw/stargazers","contributors_url":"https://api.github.com/repos/13steinj/praw/contributors","subscribers_url":"https://api.github.com/repos/13steinj/praw/subscribers","subscription_url":"https://api.github.com/repos/13steinj/praw/subscription","commits_url":"https://api.github.com/repos/13steinj/praw/commits{/sha}","git_commits_url":"https://api.github.com/repos/13steinj/praw/git/commits{/sha}","comments_url":"https://api.github.com/repos/13steinj/praw/comments{/number}","issue_comment_url":"https://api.github.com/repos/13steinj/praw/issues/comments{/number}","contents_url":"https://api.github.com/repos/13steinj/praw/contents/{+path}","compare_url":"https://api.github.com/repos/13steinj/praw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/13steinj/praw/merges","archive_url":"https://api.github.com/repos/13steinj/praw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/13steinj/praw/downloads","issues_url":"https://api.github.com/repos/13steinj/praw/issues{/number}","pulls_url":"https://api.github.com/repos/13steinj/praw/pulls{/number}","milestones_url":"https://api.github.com/repos/13steinj/praw/milestones{/number}","notifications_url":"https://api.github.com/repos/13steinj/praw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/13steinj/praw/labels{/name}","releases_url":"https://api.github.com/repos/13steinj/praw/releases{/id}","created_at":"2015-07-21T08:18:56Z","updated_at":"2015-07-21T08:18:57Z","pushed_at":"2015-08-29T18:55:25Z","git_url":"git://github.com/13steinj/praw.git","ssh_url":"git@github.com:13steinj/praw.git","clone_url":"https://github.com/13steinj/praw.git","svn_url":"https://github.com/13steinj/praw","homepage":"https://praw.readthedocs.org/","size":6205,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"praw-dev:master","ref":"master","sha":"7b4e34c63961a668b7d276c2fd00a6e00b6427d7","user":{"login":"praw-dev","id":1696888,"avatar_url":"https://avatars.githubusercontent.com/u/1696888?v=3","gravatar_id":"","url":"https://api.github.com/users/praw-dev","html_url":"https://github.com/praw-dev","followers_url":"https://api.github.com/users/praw-dev/followers","following_url":"https://api.github.com/users/praw-dev/following{/other_user}","gists_url":"https://api.github.com/users/praw-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/praw-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praw-dev/subscriptions","organizations_url":"https://api.github.com/users/praw-dev/orgs","repos_url":"https://api.github.com/users/praw-dev/repos","events_url":"https://api.github.com/users/praw-dev/events{/privacy}","received_events_url":"https://api.github.com/users/praw-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":847957,"name":"praw","full_name":"praw-dev/praw","owner":{"login":"praw-dev","id":1696888,"avatar_url":"https://avatars.githubusercontent.com/u/1696888?v=3","gravatar_id":"","url":"https://api.github.com/users/praw-dev","html_url":"https://github.com/praw-dev","followers_url":"https://api.github.com/users/praw-dev/followers","following_url":"https://api.github.com/users/praw-dev/following{/other_user}","gists_url":"https://api.github.com/users/praw-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/praw-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praw-dev/subscriptions","organizations_url":"https://api.github.com/users/praw-dev/orgs","repos_url":"https://api.github.com/users/praw-dev/repos","events_url":"https://api.github.com/users/praw-dev/events{/privacy}","received_events_url":"https://api.github.com/users/praw-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praw-dev/praw","description":"PRAW, an acronym for \"Python Reddit API Wrapper\", is a python package that allows for simple access to reddit's API.","fork":false,"url":"https://api.github.com/repos/praw-dev/praw","forks_url":"https://api.github.com/repos/praw-dev/praw/forks","keys_url":"https://api.github.com/repos/praw-dev/praw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praw-dev/praw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praw-dev/praw/teams","hooks_url":"https://api.github.com/repos/praw-dev/praw/hooks","issue_events_url":"https://api.github.com/repos/praw-dev/praw/issues/events{/number}","events_url":"https://api.github.com/repos/praw-dev/praw/events","assignees_url":"https://api.github.com/repos/praw-dev/praw/assignees{/user}","branches_url":"https://api.github.com/repos/praw-dev/praw/branches{/branch}","tags_url":"https://api.github.com/repos/praw-dev/praw/tags","blobs_url":"https://api.github.com/repos/praw-dev/praw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praw-dev/praw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praw-dev/praw/git/refs{/sha}","trees_url":"https://api.github.com/repos/praw-dev/praw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praw-dev/praw/statuses/{sha}","languages_url":"https://api.github.com/repos/praw-dev/praw/languages","stargazers_url":"https://api.github.com/repos/praw-dev/praw/stargazers","contributors_url":"https://api.github.com/repos/praw-dev/praw/contributors","subscribers_url":"https://api.github.com/repos/praw-dev/praw/subscribers","subscription_url":"https://api.github.com/repos/praw-dev/praw/subscription","commits_url":"https://api.github.com/repos/praw-dev/praw/commits{/sha}","git_commits_url":"https://api.github.com/repos/praw-dev/praw/git/commits{/sha}","comments_url":"https://api.github.com/repos/praw-dev/praw/comments{/number}","issue_comment_url":"https://api.github.com/repos/praw-dev/praw/issues/comments{/number}","contents_url":"https://api.github.com/repos/praw-dev/praw/contents/{+path}","compare_url":"https://api.github.com/repos/praw-dev/praw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praw-dev/praw/merges","archive_url":"https://api.github.com/repos/praw-dev/praw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praw-dev/praw/downloads","issues_url":"https://api.github.com/repos/praw-dev/praw/issues{/number}","pulls_url":"https://api.github.com/repos/praw-dev/praw/pulls{/number}","milestones_url":"https://api.github.com/repos/praw-dev/praw/milestones{/number}","notifications_url":"https://api.github.com/repos/praw-dev/praw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praw-dev/praw/labels{/name}","releases_url":"https://api.github.com/repos/praw-dev/praw/releases{/id}","created_at":"2010-08-19T04:00:07Z","updated_at":"2015-08-28T17:44:30Z","pushed_at":"2015-08-29T18:55:25Z","git_url":"git://github.com/praw-dev/praw.git","ssh_url":"git@github.com:praw-dev/praw.git","clone_url":"https://github.com/praw-dev/praw.git","svn_url":"https://github.com/praw-dev/praw","homepage":"https://praw.readthedocs.org/","size":9637,"stargazers_count":842,"watchers_count":842,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":173,"mirror_url":null,"open_issues_count":28,"forks":173,"open_issues":28,"watchers":842,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/512"},"html":{"href":"https://github.com/praw-dev/praw/pull/512"},"issue":{"href":"https://api.github.com/repos/praw-dev/praw/issues/512"},"comments":{"href":"https://api.github.com/repos/praw-dev/praw/issues/512/comments"},"review_comments":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/512/comments"},"review_comment":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/512/commits"},"statuses":{"href":"https://api.github.com/repos/praw-dev/praw/statuses/a301ff2ed65c9f997d8b4955727ec278cfa4ca04"}}}}