{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/edgeware/python-circuit/pulls/7","id":29178956,"html_url":"https://github.com/edgeware/python-circuit/pull/7","diff_url":"https://github.com/edgeware/python-circuit/pull/7.diff","patch_url":"https://github.com/edgeware/python-circuit/pull/7.patch","issue_url":"https://api.github.com/repos/edgeware/python-circuit/issues/7","number":7,"state":"open","locked":false,"title":"Fixes for __exit__() and a test","user":{"login":"macro32","id":7990275,"avatar_url":"https://avatars.githubusercontent.com/u/7990275?v=3","gravatar_id":"","url":"https://api.github.com/users/macro32","html_url":"https://github.com/macro32","followers_url":"https://api.github.com/users/macro32/followers","following_url":"https://api.github.com/users/macro32/following{/other_user}","gists_url":"https://api.github.com/users/macro32/gists{/gist_id}","starred_url":"https://api.github.com/users/macro32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macro32/subscriptions","organizations_url":"https://api.github.com/users/macro32/orgs","repos_url":"https://api.github.com/users/macro32/repos","events_url":"https://api.github.com/users/macro32/events{/privacy}","received_events_url":"https://api.github.com/users/macro32/received_events","type":"User","site_admin":false},"body":"I hope they are self explanatory. The original code allowed exceptions which had been set up to be trapped to leak out of the with block. The test failed because the assert alignments were out of scope of the contained method.","created_at":"2015-02-12T13:35:20Z","updated_at":"2015-02-12T13:35:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edgeware/python-circuit/pulls/7/commits","review_comments_url":"https://api.github.com/repos/edgeware/python-circuit/pulls/7/comments","review_comment_url":"https://api.github.com/repos/edgeware/python-circuit/pulls/comments/{number}","comments_url":"https://api.github.com/repos/edgeware/python-circuit/issues/7/comments","statuses_url":"https://api.github.com/repos/edgeware/python-circuit/statuses/b85b80625b58f2f76b0721b4ee6ebdcd2c49b41b","head":{"label":"nvmlabs:master","ref":"master","sha":"b85b80625b58f2f76b0721b4ee6ebdcd2c49b41b","user":{"login":"nvmlabs","id":10727312,"avatar_url":"https://avatars.githubusercontent.com/u/10727312?v=3","gravatar_id":"","url":"https://api.github.com/users/nvmlabs","html_url":"https://github.com/nvmlabs","followers_url":"https://api.github.com/users/nvmlabs/followers","following_url":"https://api.github.com/users/nvmlabs/following{/other_user}","gists_url":"https://api.github.com/users/nvmlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/nvmlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvmlabs/subscriptions","organizations_url":"https://api.github.com/users/nvmlabs/orgs","repos_url":"https://api.github.com/users/nvmlabs/repos","events_url":"https://api.github.com/users/nvmlabs/events{/privacy}","received_events_url":"https://api.github.com/users/nvmlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":30695775,"name":"python-circuit","full_name":"nvmlabs/python-circuit","owner":{"login":"nvmlabs","id":10727312,"avatar_url":"https://avatars.githubusercontent.com/u/10727312?v=3","gravatar_id":"","url":"https://api.github.com/users/nvmlabs","html_url":"https://github.com/nvmlabs","followers_url":"https://api.github.com/users/nvmlabs/followers","following_url":"https://api.github.com/users/nvmlabs/following{/other_user}","gists_url":"https://api.github.com/users/nvmlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/nvmlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvmlabs/subscriptions","organizations_url":"https://api.github.com/users/nvmlabs/orgs","repos_url":"https://api.github.com/users/nvmlabs/repos","events_url":"https://api.github.com/users/nvmlabs/events{/privacy}","received_events_url":"https://api.github.com/users/nvmlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nvmlabs/python-circuit","description":"Simple implementation of the Circuit Breaker pattern","fork":true,"url":"https://api.github.com/repos/nvmlabs/python-circuit","forks_url":"https://api.github.com/repos/nvmlabs/python-circuit/forks","keys_url":"https://api.github.com/repos/nvmlabs/python-circuit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nvmlabs/python-circuit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nvmlabs/python-circuit/teams","hooks_url":"https://api.github.com/repos/nvmlabs/python-circuit/hooks","issue_events_url":"https://api.github.com/repos/nvmlabs/python-circuit/issues/events{/number}","events_url":"https://api.github.com/repos/nvmlabs/python-circuit/events","assignees_url":"https://api.github.com/repos/nvmlabs/python-circuit/assignees{/user}","branches_url":"https://api.github.com/repos/nvmlabs/python-circuit/branches{/branch}","tags_url":"https://api.github.com/repos/nvmlabs/python-circuit/tags","blobs_url":"https://api.github.com/repos/nvmlabs/python-circuit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nvmlabs/python-circuit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nvmlabs/python-circuit/git/refs{/sha}","trees_url":"https://api.github.com/repos/nvmlabs/python-circuit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nvmlabs/python-circuit/statuses/{sha}","languages_url":"https://api.github.com/repos/nvmlabs/python-circuit/languages","stargazers_url":"https://api.github.com/repos/nvmlabs/python-circuit/stargazers","contributors_url":"https://api.github.com/repos/nvmlabs/python-circuit/contributors","subscribers_url":"https://api.github.com/repos/nvmlabs/python-circuit/subscribers","subscription_url":"https://api.github.com/repos/nvmlabs/python-circuit/subscription","commits_url":"https://api.github.com/repos/nvmlabs/python-circuit/commits{/sha}","git_commits_url":"https://api.github.com/repos/nvmlabs/python-circuit/git/commits{/sha}","comments_url":"https://api.github.com/repos/nvmlabs/python-circuit/comments{/number}","issue_comment_url":"https://api.github.com/repos/nvmlabs/python-circuit/issues/comments/{number}","contents_url":"https://api.github.com/repos/nvmlabs/python-circuit/contents/{+path}","compare_url":"https://api.github.com/repos/nvmlabs/python-circuit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nvmlabs/python-circuit/merges","archive_url":"https://api.github.com/repos/nvmlabs/python-circuit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nvmlabs/python-circuit/downloads","issues_url":"https://api.github.com/repos/nvmlabs/python-circuit/issues{/number}","pulls_url":"https://api.github.com/repos/nvmlabs/python-circuit/pulls{/number}","milestones_url":"https://api.github.com/repos/nvmlabs/python-circuit/milestones{/number}","notifications_url":"https://api.github.com/repos/nvmlabs/python-circuit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nvmlabs/python-circuit/labels{/name}","releases_url":"https://api.github.com/repos/nvmlabs/python-circuit/releases{/id}","created_at":"2015-02-12T09:41:16Z","updated_at":"2015-02-12T13:28:48Z","pushed_at":"2015-02-12T13:28:48Z","git_url":"git://github.com/nvmlabs/python-circuit.git","ssh_url":"git@github.com:nvmlabs/python-circuit.git","clone_url":"https://github.com/nvmlabs/python-circuit.git","svn_url":"https://github.com/nvmlabs/python-circuit","homepage":null,"size":167,"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":"edgeware:master","ref":"master","sha":"7b562304676103b55744070ef5f274f2b4fbfc1d","user":{"login":"edgeware","id":570664,"avatar_url":"https://avatars.githubusercontent.com/u/570664?v=3","gravatar_id":"","url":"https://api.github.com/users/edgeware","html_url":"https://github.com/edgeware","followers_url":"https://api.github.com/users/edgeware/followers","following_url":"https://api.github.com/users/edgeware/following{/other_user}","gists_url":"https://api.github.com/users/edgeware/gists{/gist_id}","starred_url":"https://api.github.com/users/edgeware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgeware/subscriptions","organizations_url":"https://api.github.com/users/edgeware/orgs","repos_url":"https://api.github.com/users/edgeware/repos","events_url":"https://api.github.com/users/edgeware/events{/privacy}","received_events_url":"https://api.github.com/users/edgeware/received_events","type":"Organization","site_admin":false},"repo":{"id":4781331,"name":"python-circuit","full_name":"edgeware/python-circuit","owner":{"login":"edgeware","id":570664,"avatar_url":"https://avatars.githubusercontent.com/u/570664?v=3","gravatar_id":"","url":"https://api.github.com/users/edgeware","html_url":"https://github.com/edgeware","followers_url":"https://api.github.com/users/edgeware/followers","following_url":"https://api.github.com/users/edgeware/following{/other_user}","gists_url":"https://api.github.com/users/edgeware/gists{/gist_id}","starred_url":"https://api.github.com/users/edgeware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgeware/subscriptions","organizations_url":"https://api.github.com/users/edgeware/orgs","repos_url":"https://api.github.com/users/edgeware/repos","events_url":"https://api.github.com/users/edgeware/events{/privacy}","received_events_url":"https://api.github.com/users/edgeware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edgeware/python-circuit","description":"Simple implementation of the Circuit Breaker pattern","fork":false,"url":"https://api.github.com/repos/edgeware/python-circuit","forks_url":"https://api.github.com/repos/edgeware/python-circuit/forks","keys_url":"https://api.github.com/repos/edgeware/python-circuit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edgeware/python-circuit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edgeware/python-circuit/teams","hooks_url":"https://api.github.com/repos/edgeware/python-circuit/hooks","issue_events_url":"https://api.github.com/repos/edgeware/python-circuit/issues/events{/number}","events_url":"https://api.github.com/repos/edgeware/python-circuit/events","assignees_url":"https://api.github.com/repos/edgeware/python-circuit/assignees{/user}","branches_url":"https://api.github.com/repos/edgeware/python-circuit/branches{/branch}","tags_url":"https://api.github.com/repos/edgeware/python-circuit/tags","blobs_url":"https://api.github.com/repos/edgeware/python-circuit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edgeware/python-circuit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edgeware/python-circuit/git/refs{/sha}","trees_url":"https://api.github.com/repos/edgeware/python-circuit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edgeware/python-circuit/statuses/{sha}","languages_url":"https://api.github.com/repos/edgeware/python-circuit/languages","stargazers_url":"https://api.github.com/repos/edgeware/python-circuit/stargazers","contributors_url":"https://api.github.com/repos/edgeware/python-circuit/contributors","subscribers_url":"https://api.github.com/repos/edgeware/python-circuit/subscribers","subscription_url":"https://api.github.com/repos/edgeware/python-circuit/subscription","commits_url":"https://api.github.com/repos/edgeware/python-circuit/commits{/sha}","git_commits_url":"https://api.github.com/repos/edgeware/python-circuit/git/commits{/sha}","comments_url":"https://api.github.com/repos/edgeware/python-circuit/comments{/number}","issue_comment_url":"https://api.github.com/repos/edgeware/python-circuit/issues/comments/{number}","contents_url":"https://api.github.com/repos/edgeware/python-circuit/contents/{+path}","compare_url":"https://api.github.com/repos/edgeware/python-circuit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edgeware/python-circuit/merges","archive_url":"https://api.github.com/repos/edgeware/python-circuit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edgeware/python-circuit/downloads","issues_url":"https://api.github.com/repos/edgeware/python-circuit/issues{/number}","pulls_url":"https://api.github.com/repos/edgeware/python-circuit/pulls{/number}","milestones_url":"https://api.github.com/repos/edgeware/python-circuit/milestones{/number}","notifications_url":"https://api.github.com/repos/edgeware/python-circuit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edgeware/python-circuit/labels{/name}","releases_url":"https://api.github.com/repos/edgeware/python-circuit/releases{/id}","created_at":"2012-06-25T12:20:47Z","updated_at":"2015-02-11T15:12:56Z","pushed_at":"2015-02-11T15:12:59Z","git_url":"git://github.com/edgeware/python-circuit.git","ssh_url":"git@github.com:edgeware/python-circuit.git","clone_url":"https://github.com/edgeware/python-circuit.git","svn_url":"https://github.com/edgeware/python-circuit","homepage":null,"size":167,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edgeware/python-circuit/pulls/7"},"html":{"href":"https://github.com/edgeware/python-circuit/pull/7"},"issue":{"href":"https://api.github.com/repos/edgeware/python-circuit/issues/7"},"comments":{"href":"https://api.github.com/repos/edgeware/python-circuit/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/edgeware/python-circuit/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/edgeware/python-circuit/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/edgeware/python-circuit/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/edgeware/python-circuit/statuses/b85b80625b58f2f76b0721b4ee6ebdcd2c49b41b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":3,"deletions":2,"changed_files":2}}