{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/clanner/cocdp/pulls/4","id":33526779,"html_url":"https://github.com/clanner/cocdp/pull/4","diff_url":"https://github.com/clanner/cocdp/pull/4.diff","patch_url":"https://github.com/clanner/cocdp/pull/4.patch","issue_url":"https://api.github.com/repos/clanner/cocdp/issues/4","number":4,"state":"open","locked":false,"title":"Remove dumpobj sorting","user":{"login":"ht1abf1","id":11989344,"avatar_url":"https://avatars.githubusercontent.com/u/11989344?v=3","gravatar_id":"","url":"https://api.github.com/users/ht1abf1","html_url":"https://github.com/ht1abf1","followers_url":"https://api.github.com/users/ht1abf1/followers","following_url":"https://api.github.com/users/ht1abf1/following{/other_user}","gists_url":"https://api.github.com/users/ht1abf1/gists{/gist_id}","starred_url":"https://api.github.com/users/ht1abf1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ht1abf1/subscriptions","organizations_url":"https://api.github.com/users/ht1abf1/orgs","repos_url":"https://api.github.com/users/ht1abf1/repos","events_url":"https://api.github.com/users/ht1abf1/events{/privacy}","received_events_url":"https://api.github.com/users/ht1abf1/received_events","type":"User","site_admin":false},"body":"Python isn't my primary programming language, and a quick Google search didn't yield anything useful, but there has to be a better way to do this.  As far as I can tell, Python doesn't keep up with the order attributes are added to an object, at least not when using setattr.\r\n\r\nAlso, this would ideally be handled with a function argument, as both ways have their uses.\r\n\r\nAny thoughts on a better way to handle it?","created_at":"2015-04-17T09:14:52Z","updated_at":"2015-04-17T09:14:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clanner/cocdp/pulls/4/commits","review_comments_url":"https://api.github.com/repos/clanner/cocdp/pulls/4/comments","review_comment_url":"https://api.github.com/repos/clanner/cocdp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clanner/cocdp/issues/4/comments","statuses_url":"https://api.github.com/repos/clanner/cocdp/statuses/b7ff5dab76caf0c0ce838cfbd71678fd4a401b51","head":{"label":"ht1abf1:unsorted","ref":"unsorted","sha":"b7ff5dab76caf0c0ce838cfbd71678fd4a401b51","user":{"login":"ht1abf1","id":11989344,"avatar_url":"https://avatars.githubusercontent.com/u/11989344?v=3","gravatar_id":"","url":"https://api.github.com/users/ht1abf1","html_url":"https://github.com/ht1abf1","followers_url":"https://api.github.com/users/ht1abf1/followers","following_url":"https://api.github.com/users/ht1abf1/following{/other_user}","gists_url":"https://api.github.com/users/ht1abf1/gists{/gist_id}","starred_url":"https://api.github.com/users/ht1abf1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ht1abf1/subscriptions","organizations_url":"https://api.github.com/users/ht1abf1/orgs","repos_url":"https://api.github.com/users/ht1abf1/repos","events_url":"https://api.github.com/users/ht1abf1/events{/privacy}","received_events_url":"https://api.github.com/users/ht1abf1/received_events","type":"User","site_admin":false},"repo":{"id":34099337,"name":"cocdp","full_name":"ht1abf1/cocdp","owner":{"login":"ht1abf1","id":11989344,"avatar_url":"https://avatars.githubusercontent.com/u/11989344?v=3","gravatar_id":"","url":"https://api.github.com/users/ht1abf1","html_url":"https://github.com/ht1abf1","followers_url":"https://api.github.com/users/ht1abf1/followers","following_url":"https://api.github.com/users/ht1abf1/following{/other_user}","gists_url":"https://api.github.com/users/ht1abf1/gists{/gist_id}","starred_url":"https://api.github.com/users/ht1abf1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ht1abf1/subscriptions","organizations_url":"https://api.github.com/users/ht1abf1/orgs","repos_url":"https://api.github.com/users/ht1abf1/repos","events_url":"https://api.github.com/users/ht1abf1/events{/privacy}","received_events_url":"https://api.github.com/users/ht1abf1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ht1abf1/cocdp","description":"Clash of Clans Documentation Project","fork":true,"url":"https://api.github.com/repos/ht1abf1/cocdp","forks_url":"https://api.github.com/repos/ht1abf1/cocdp/forks","keys_url":"https://api.github.com/repos/ht1abf1/cocdp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ht1abf1/cocdp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ht1abf1/cocdp/teams","hooks_url":"https://api.github.com/repos/ht1abf1/cocdp/hooks","issue_events_url":"https://api.github.com/repos/ht1abf1/cocdp/issues/events{/number}","events_url":"https://api.github.com/repos/ht1abf1/cocdp/events","assignees_url":"https://api.github.com/repos/ht1abf1/cocdp/assignees{/user}","branches_url":"https://api.github.com/repos/ht1abf1/cocdp/branches{/branch}","tags_url":"https://api.github.com/repos/ht1abf1/cocdp/tags","blobs_url":"https://api.github.com/repos/ht1abf1/cocdp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ht1abf1/cocdp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ht1abf1/cocdp/git/refs{/sha}","trees_url":"https://api.github.com/repos/ht1abf1/cocdp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ht1abf1/cocdp/statuses/{sha}","languages_url":"https://api.github.com/repos/ht1abf1/cocdp/languages","stargazers_url":"https://api.github.com/repos/ht1abf1/cocdp/stargazers","contributors_url":"https://api.github.com/repos/ht1abf1/cocdp/contributors","subscribers_url":"https://api.github.com/repos/ht1abf1/cocdp/subscribers","subscription_url":"https://api.github.com/repos/ht1abf1/cocdp/subscription","commits_url":"https://api.github.com/repos/ht1abf1/cocdp/commits{/sha}","git_commits_url":"https://api.github.com/repos/ht1abf1/cocdp/git/commits{/sha}","comments_url":"https://api.github.com/repos/ht1abf1/cocdp/comments{/number}","issue_comment_url":"https://api.github.com/repos/ht1abf1/cocdp/issues/comments{/number}","contents_url":"https://api.github.com/repos/ht1abf1/cocdp/contents/{+path}","compare_url":"https://api.github.com/repos/ht1abf1/cocdp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ht1abf1/cocdp/merges","archive_url":"https://api.github.com/repos/ht1abf1/cocdp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ht1abf1/cocdp/downloads","issues_url":"https://api.github.com/repos/ht1abf1/cocdp/issues{/number}","pulls_url":"https://api.github.com/repos/ht1abf1/cocdp/pulls{/number}","milestones_url":"https://api.github.com/repos/ht1abf1/cocdp/milestones{/number}","notifications_url":"https://api.github.com/repos/ht1abf1/cocdp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ht1abf1/cocdp/labels{/name}","releases_url":"https://api.github.com/repos/ht1abf1/cocdp/releases{/id}","created_at":"2015-04-17T05:59:26Z","updated_at":"2015-04-17T08:49:30Z","pushed_at":"2015-04-17T09:14:51Z","git_url":"git://github.com/ht1abf1/cocdp.git","ssh_url":"git@github.com:ht1abf1/cocdp.git","clone_url":"https://github.com/ht1abf1/cocdp.git","svn_url":"https://github.com/ht1abf1/cocdp","homepage":null,"size":130,"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":"clanner:master","ref":"master","sha":"3132a9628b69d2f1ef05bad75376ffc2b8a6f694","user":{"login":"clanner","id":10919267,"avatar_url":"https://avatars.githubusercontent.com/u/10919267?v=3","gravatar_id":"","url":"https://api.github.com/users/clanner","html_url":"https://github.com/clanner","followers_url":"https://api.github.com/users/clanner/followers","following_url":"https://api.github.com/users/clanner/following{/other_user}","gists_url":"https://api.github.com/users/clanner/gists{/gist_id}","starred_url":"https://api.github.com/users/clanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clanner/subscriptions","organizations_url":"https://api.github.com/users/clanner/orgs","repos_url":"https://api.github.com/users/clanner/repos","events_url":"https://api.github.com/users/clanner/events{/privacy}","received_events_url":"https://api.github.com/users/clanner/received_events","type":"User","site_admin":false},"repo":{"id":30525449,"name":"cocdp","full_name":"clanner/cocdp","owner":{"login":"clanner","id":10919267,"avatar_url":"https://avatars.githubusercontent.com/u/10919267?v=3","gravatar_id":"","url":"https://api.github.com/users/clanner","html_url":"https://github.com/clanner","followers_url":"https://api.github.com/users/clanner/followers","following_url":"https://api.github.com/users/clanner/following{/other_user}","gists_url":"https://api.github.com/users/clanner/gists{/gist_id}","starred_url":"https://api.github.com/users/clanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clanner/subscriptions","organizations_url":"https://api.github.com/users/clanner/orgs","repos_url":"https://api.github.com/users/clanner/repos","events_url":"https://api.github.com/users/clanner/events{/privacy}","received_events_url":"https://api.github.com/users/clanner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clanner/cocdp","description":"Clash of Clans Documentation Project","fork":false,"url":"https://api.github.com/repos/clanner/cocdp","forks_url":"https://api.github.com/repos/clanner/cocdp/forks","keys_url":"https://api.github.com/repos/clanner/cocdp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clanner/cocdp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clanner/cocdp/teams","hooks_url":"https://api.github.com/repos/clanner/cocdp/hooks","issue_events_url":"https://api.github.com/repos/clanner/cocdp/issues/events{/number}","events_url":"https://api.github.com/repos/clanner/cocdp/events","assignees_url":"https://api.github.com/repos/clanner/cocdp/assignees{/user}","branches_url":"https://api.github.com/repos/clanner/cocdp/branches{/branch}","tags_url":"https://api.github.com/repos/clanner/cocdp/tags","blobs_url":"https://api.github.com/repos/clanner/cocdp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clanner/cocdp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clanner/cocdp/git/refs{/sha}","trees_url":"https://api.github.com/repos/clanner/cocdp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clanner/cocdp/statuses/{sha}","languages_url":"https://api.github.com/repos/clanner/cocdp/languages","stargazers_url":"https://api.github.com/repos/clanner/cocdp/stargazers","contributors_url":"https://api.github.com/repos/clanner/cocdp/contributors","subscribers_url":"https://api.github.com/repos/clanner/cocdp/subscribers","subscription_url":"https://api.github.com/repos/clanner/cocdp/subscription","commits_url":"https://api.github.com/repos/clanner/cocdp/commits{/sha}","git_commits_url":"https://api.github.com/repos/clanner/cocdp/git/commits{/sha}","comments_url":"https://api.github.com/repos/clanner/cocdp/comments{/number}","issue_comment_url":"https://api.github.com/repos/clanner/cocdp/issues/comments{/number}","contents_url":"https://api.github.com/repos/clanner/cocdp/contents/{+path}","compare_url":"https://api.github.com/repos/clanner/cocdp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clanner/cocdp/merges","archive_url":"https://api.github.com/repos/clanner/cocdp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clanner/cocdp/downloads","issues_url":"https://api.github.com/repos/clanner/cocdp/issues{/number}","pulls_url":"https://api.github.com/repos/clanner/cocdp/pulls{/number}","milestones_url":"https://api.github.com/repos/clanner/cocdp/milestones{/number}","notifications_url":"https://api.github.com/repos/clanner/cocdp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clanner/cocdp/labels{/name}","releases_url":"https://api.github.com/repos/clanner/cocdp/releases{/id}","created_at":"2015-02-09T08:17:38Z","updated_at":"2015-04-14T17:43:34Z","pushed_at":"2015-04-17T08:51:35Z","git_url":"git://github.com/clanner/cocdp.git","ssh_url":"git@github.com:clanner/cocdp.git","clone_url":"https://github.com/clanner/cocdp.git","svn_url":"https://github.com/clanner/cocdp","homepage":null,"size":63232,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clanner/cocdp/pulls/4"},"html":{"href":"https://github.com/clanner/cocdp/pull/4"},"issue":{"href":"https://api.github.com/repos/clanner/cocdp/issues/4"},"comments":{"href":"https://api.github.com/repos/clanner/cocdp/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/clanner/cocdp/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/clanner/cocdp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clanner/cocdp/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/clanner/cocdp/statuses/b7ff5dab76caf0c0ce838cfbd71678fd4a401b51"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":262,"deletions":13,"changed_files":3}}