{"action":"opened","number":25,"pull_request":{"url":"https://api.github.com/repos/berkerpeksag/astor/pulls/25","id":35582503,"html_url":"https://github.com/berkerpeksag/astor/pull/25","diff_url":"https://github.com/berkerpeksag/astor/pull/25.diff","patch_url":"https://github.com/berkerpeksag/astor/pull/25.patch","issue_url":"https://api.github.com/repos/berkerpeksag/astor/issues/25","number":25,"state":"open","locked":false,"title":"Added new anti8 example utility; used it to find and fix bugs","user":{"login":"pmaupin","id":2379062,"avatar_url":"https://avatars.githubusercontent.com/u/2379062?v=3","gravatar_id":"","url":"https://api.github.com/users/pmaupin","html_url":"https://github.com/pmaupin","followers_url":"https://api.github.com/users/pmaupin/followers","following_url":"https://api.github.com/users/pmaupin/following{/other_user}","gists_url":"https://api.github.com/users/pmaupin/gists{/gist_id}","starred_url":"https://api.github.com/users/pmaupin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmaupin/subscriptions","organizations_url":"https://api.github.com/users/pmaupin/orgs","repos_url":"https://api.github.com/users/pmaupin/repos","events_url":"https://api.github.com/users/pmaupin/events{/privacy}","received_events_url":"https://api.github.com/users/pmaupin/received_events","type":"User","site_admin":false},"body":"Berker:\r\n\r\nI'm still pretty new at this git thing, so I probably didn't put this in as many separate commits as some would prefer.  Feel free to slice and dice it anyway you want when updating the master.  (I realize now that I should have done a branch before doing the work, as well, so that's something to try to do next time.)\r\n\r\nAnyway, I wrote an example utility to be able to easily compare two source trees (e.g. before and after PEP8 modifications), and ran it on the 2.7 and 3.4 standard libraries, and exposed several bugs in codegen in the process.\r\n\r\nFor each bug, I wrote a failing testcase and then fixed the bug.\r\n\r\nIt might be worthwhile to do the same thing for 3.5 before your release, if the goal of the release is 3.5 support.  All you have to do is run the anti8 script with a single parameter that is the path to the system libraries.\r\n\r\nIt's well past my bedtime, so I don't think I'll have any more code for your new version.\r\n\r\nThanks,\r\nPat\r\n","created_at":"2015-05-17T06:14:24Z","updated_at":"2015-05-17T06:14:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/berkerpeksag/astor/pulls/25/commits","review_comments_url":"https://api.github.com/repos/berkerpeksag/astor/pulls/25/comments","review_comment_url":"https://api.github.com/repos/berkerpeksag/astor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/berkerpeksag/astor/issues/25/comments","statuses_url":"https://api.github.com/repos/berkerpeksag/astor/statuses/a973e3d8ea7ad49ef4bc54d25f17783769f5b5fa","head":{"label":"pmaupin:master","ref":"master","sha":"a973e3d8ea7ad49ef4bc54d25f17783769f5b5fa","user":{"login":"pmaupin","id":2379062,"avatar_url":"https://avatars.githubusercontent.com/u/2379062?v=3","gravatar_id":"","url":"https://api.github.com/users/pmaupin","html_url":"https://github.com/pmaupin","followers_url":"https://api.github.com/users/pmaupin/followers","following_url":"https://api.github.com/users/pmaupin/following{/other_user}","gists_url":"https://api.github.com/users/pmaupin/gists{/gist_id}","starred_url":"https://api.github.com/users/pmaupin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmaupin/subscriptions","organizations_url":"https://api.github.com/users/pmaupin/orgs","repos_url":"https://api.github.com/users/pmaupin/repos","events_url":"https://api.github.com/users/pmaupin/events{/privacy}","received_events_url":"https://api.github.com/users/pmaupin/received_events","type":"User","site_admin":false},"repo":{"id":35742143,"name":"astor","full_name":"pmaupin/astor","owner":{"login":"pmaupin","id":2379062,"avatar_url":"https://avatars.githubusercontent.com/u/2379062?v=3","gravatar_id":"","url":"https://api.github.com/users/pmaupin","html_url":"https://github.com/pmaupin","followers_url":"https://api.github.com/users/pmaupin/followers","following_url":"https://api.github.com/users/pmaupin/following{/other_user}","gists_url":"https://api.github.com/users/pmaupin/gists{/gist_id}","starred_url":"https://api.github.com/users/pmaupin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmaupin/subscriptions","organizations_url":"https://api.github.com/users/pmaupin/orgs","repos_url":"https://api.github.com/users/pmaupin/repos","events_url":"https://api.github.com/users/pmaupin/events{/privacy}","received_events_url":"https://api.github.com/users/pmaupin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pmaupin/astor","description":"Python AST read/write","fork":true,"url":"https://api.github.com/repos/pmaupin/astor","forks_url":"https://api.github.com/repos/pmaupin/astor/forks","keys_url":"https://api.github.com/repos/pmaupin/astor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pmaupin/astor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pmaupin/astor/teams","hooks_url":"https://api.github.com/repos/pmaupin/astor/hooks","issue_events_url":"https://api.github.com/repos/pmaupin/astor/issues/events{/number}","events_url":"https://api.github.com/repos/pmaupin/astor/events","assignees_url":"https://api.github.com/repos/pmaupin/astor/assignees{/user}","branches_url":"https://api.github.com/repos/pmaupin/astor/branches{/branch}","tags_url":"https://api.github.com/repos/pmaupin/astor/tags","blobs_url":"https://api.github.com/repos/pmaupin/astor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pmaupin/astor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pmaupin/astor/git/refs{/sha}","trees_url":"https://api.github.com/repos/pmaupin/astor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pmaupin/astor/statuses/{sha}","languages_url":"https://api.github.com/repos/pmaupin/astor/languages","stargazers_url":"https://api.github.com/repos/pmaupin/astor/stargazers","contributors_url":"https://api.github.com/repos/pmaupin/astor/contributors","subscribers_url":"https://api.github.com/repos/pmaupin/astor/subscribers","subscription_url":"https://api.github.com/repos/pmaupin/astor/subscription","commits_url":"https://api.github.com/repos/pmaupin/astor/commits{/sha}","git_commits_url":"https://api.github.com/repos/pmaupin/astor/git/commits{/sha}","comments_url":"https://api.github.com/repos/pmaupin/astor/comments{/number}","issue_comment_url":"https://api.github.com/repos/pmaupin/astor/issues/comments{/number}","contents_url":"https://api.github.com/repos/pmaupin/astor/contents/{+path}","compare_url":"https://api.github.com/repos/pmaupin/astor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pmaupin/astor/merges","archive_url":"https://api.github.com/repos/pmaupin/astor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pmaupin/astor/downloads","issues_url":"https://api.github.com/repos/pmaupin/astor/issues{/number}","pulls_url":"https://api.github.com/repos/pmaupin/astor/pulls{/number}","milestones_url":"https://api.github.com/repos/pmaupin/astor/milestones{/number}","notifications_url":"https://api.github.com/repos/pmaupin/astor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pmaupin/astor/labels{/name}","releases_url":"https://api.github.com/repos/pmaupin/astor/releases{/id}","created_at":"2015-05-16T22:10:22Z","updated_at":"2015-05-16T22:10:23Z","pushed_at":"2015-05-17T06:02:08Z","git_url":"git://github.com/pmaupin/astor.git","ssh_url":"git@github.com:pmaupin/astor.git","clone_url":"https://github.com/pmaupin/astor.git","svn_url":"https://github.com/pmaupin/astor","homepage":"https://pypi.python.org/pypi/astor","size":455,"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":"berkerpeksag:master","ref":"master","sha":"4457a13ff4c55f5d8e962a9cb6385b539aea12fb","user":{"login":"berkerpeksag","id":26338,"avatar_url":"https://avatars.githubusercontent.com/u/26338?v=3","gravatar_id":"","url":"https://api.github.com/users/berkerpeksag","html_url":"https://github.com/berkerpeksag","followers_url":"https://api.github.com/users/berkerpeksag/followers","following_url":"https://api.github.com/users/berkerpeksag/following{/other_user}","gists_url":"https://api.github.com/users/berkerpeksag/gists{/gist_id}","starred_url":"https://api.github.com/users/berkerpeksag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berkerpeksag/subscriptions","organizations_url":"https://api.github.com/users/berkerpeksag/orgs","repos_url":"https://api.github.com/users/berkerpeksag/repos","events_url":"https://api.github.com/users/berkerpeksag/events{/privacy}","received_events_url":"https://api.github.com/users/berkerpeksag/received_events","type":"User","site_admin":false},"repo":{"id":5879214,"name":"astor","full_name":"berkerpeksag/astor","owner":{"login":"berkerpeksag","id":26338,"avatar_url":"https://avatars.githubusercontent.com/u/26338?v=3","gravatar_id":"","url":"https://api.github.com/users/berkerpeksag","html_url":"https://github.com/berkerpeksag","followers_url":"https://api.github.com/users/berkerpeksag/followers","following_url":"https://api.github.com/users/berkerpeksag/following{/other_user}","gists_url":"https://api.github.com/users/berkerpeksag/gists{/gist_id}","starred_url":"https://api.github.com/users/berkerpeksag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berkerpeksag/subscriptions","organizations_url":"https://api.github.com/users/berkerpeksag/orgs","repos_url":"https://api.github.com/users/berkerpeksag/repos","events_url":"https://api.github.com/users/berkerpeksag/events{/privacy}","received_events_url":"https://api.github.com/users/berkerpeksag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/berkerpeksag/astor","description":"Python AST read/write","fork":false,"url":"https://api.github.com/repos/berkerpeksag/astor","forks_url":"https://api.github.com/repos/berkerpeksag/astor/forks","keys_url":"https://api.github.com/repos/berkerpeksag/astor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/berkerpeksag/astor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/berkerpeksag/astor/teams","hooks_url":"https://api.github.com/repos/berkerpeksag/astor/hooks","issue_events_url":"https://api.github.com/repos/berkerpeksag/astor/issues/events{/number}","events_url":"https://api.github.com/repos/berkerpeksag/astor/events","assignees_url":"https://api.github.com/repos/berkerpeksag/astor/assignees{/user}","branches_url":"https://api.github.com/repos/berkerpeksag/astor/branches{/branch}","tags_url":"https://api.github.com/repos/berkerpeksag/astor/tags","blobs_url":"https://api.github.com/repos/berkerpeksag/astor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/berkerpeksag/astor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/berkerpeksag/astor/git/refs{/sha}","trees_url":"https://api.github.com/repos/berkerpeksag/astor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/berkerpeksag/astor/statuses/{sha}","languages_url":"https://api.github.com/repos/berkerpeksag/astor/languages","stargazers_url":"https://api.github.com/repos/berkerpeksag/astor/stargazers","contributors_url":"https://api.github.com/repos/berkerpeksag/astor/contributors","subscribers_url":"https://api.github.com/repos/berkerpeksag/astor/subscribers","subscription_url":"https://api.github.com/repos/berkerpeksag/astor/subscription","commits_url":"https://api.github.com/repos/berkerpeksag/astor/commits{/sha}","git_commits_url":"https://api.github.com/repos/berkerpeksag/astor/git/commits{/sha}","comments_url":"https://api.github.com/repos/berkerpeksag/astor/comments{/number}","issue_comment_url":"https://api.github.com/repos/berkerpeksag/astor/issues/comments{/number}","contents_url":"https://api.github.com/repos/berkerpeksag/astor/contents/{+path}","compare_url":"https://api.github.com/repos/berkerpeksag/astor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/berkerpeksag/astor/merges","archive_url":"https://api.github.com/repos/berkerpeksag/astor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/berkerpeksag/astor/downloads","issues_url":"https://api.github.com/repos/berkerpeksag/astor/issues{/number}","pulls_url":"https://api.github.com/repos/berkerpeksag/astor/pulls{/number}","milestones_url":"https://api.github.com/repos/berkerpeksag/astor/milestones{/number}","notifications_url":"https://api.github.com/repos/berkerpeksag/astor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/berkerpeksag/astor/labels{/name}","releases_url":"https://api.github.com/repos/berkerpeksag/astor/releases{/id}","created_at":"2012-09-19T23:02:51Z","updated_at":"2015-04-18T22:04:35Z","pushed_at":"2015-05-17T06:14:24Z","git_url":"git://github.com/berkerpeksag/astor.git","ssh_url":"git@github.com:berkerpeksag/astor.git","clone_url":"https://github.com/berkerpeksag/astor.git","svn_url":"https://github.com/berkerpeksag/astor","homepage":"https://pypi.python.org/pypi/astor","size":455,"stargazers_count":44,"watchers_count":44,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":9,"forks":11,"open_issues":9,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/berkerpeksag/astor/pulls/25"},"html":{"href":"https://github.com/berkerpeksag/astor/pull/25"},"issue":{"href":"https://api.github.com/repos/berkerpeksag/astor/issues/25"},"comments":{"href":"https://api.github.com/repos/berkerpeksag/astor/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/berkerpeksag/astor/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/berkerpeksag/astor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/berkerpeksag/astor/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/berkerpeksag/astor/statuses/a973e3d8ea7ad49ef4bc54d25f17783769f5b5fa"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":158,"deletions":10,"changed_files":4}}