{"action":"closed","number":1077,"pull_request":{"url":"https://api.github.com/repos/ethereum/vyper/pulls/1077","id":230568867,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNTY4ODY3","html_url":"https://github.com/ethereum/vyper/pull/1077","diff_url":"https://github.com/ethereum/vyper/pull/1077.diff","patch_url":"https://github.com/ethereum/vyper/pull/1077.patch","issue_url":"https://api.github.com/repos/ethereum/vyper/issues/1077","number":1077,"state":"closed","locked":false,"title":"Allow bool as an input type to built-in convert function","user":{"login":"jakerockland","id":8602661,"node_id":"MDQ6VXNlcjg2MDI2NjE=","avatar_url":"https://avatars3.githubusercontent.com/u/8602661?v=4","gravatar_id":"","url":"https://api.github.com/users/jakerockland","html_url":"https://github.com/jakerockland","followers_url":"https://api.github.com/users/jakerockland/followers","following_url":"https://api.github.com/users/jakerockland/following{/other_user}","gists_url":"https://api.github.com/users/jakerockland/gists{/gist_id}","starred_url":"https://api.github.com/users/jakerockland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakerockland/subscriptions","organizations_url":"https://api.github.com/users/jakerockland/orgs","repos_url":"https://api.github.com/users/jakerockland/repos","events_url":"https://api.github.com/users/jakerockland/events{/privacy}","received_events_url":"https://api.github.com/users/jakerockland/received_events","type":"User","site_admin":false},"body":"### - What I did\r\n\r\nProposed solution to: #1064\r\n\r\n### - How I did it\r\n\r\nUpdated `vyper/types/convert.py` to support boolean inputs.\r\n\r\n### - How to verify it\r\n\r\nI've added corresponding tests for the output types that can be convereted to from boolean values, so they can be run with:\r\n\r\n`make test`\r\n\r\n### - Description for the changelog\r\n\r\nUpdated built-in convert function to allow bool as an input type\r\n\r\n### - Cute Animal Picture\r\n\r\n![image](https://user-images.githubusercontent.com/8602661/48432502-ba4fb600-e731-11e8-891b-0dbdc43c5fe8.png)\r\n\r\n","created_at":"2018-11-13T17:49:23Z","updated_at":"2018-11-21T20:00:48Z","closed_at":"2018-11-21T20:00:48Z","merged_at":"2018-11-21T20:00:48Z","merge_commit_sha":"0199db8ab04b8de46c0be79700122d62c3125a1c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ethereum/vyper/pulls/1077/commits","review_comments_url":"https://api.github.com/repos/ethereum/vyper/pulls/1077/comments","review_comment_url":"https://api.github.com/repos/ethereum/vyper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ethereum/vyper/issues/1077/comments","statuses_url":"https://api.github.com/repos/ethereum/vyper/statuses/7b50e3ee4a38d9dee56ea84a45052d5bb977c9ca","head":{"label":"jakerockland:add-bool-convert-input","ref":"add-bool-convert-input","sha":"7b50e3ee4a38d9dee56ea84a45052d5bb977c9ca","user":{"login":"jakerockland","id":8602661,"node_id":"MDQ6VXNlcjg2MDI2NjE=","avatar_url":"https://avatars3.githubusercontent.com/u/8602661?v=4","gravatar_id":"","url":"https://api.github.com/users/jakerockland","html_url":"https://github.com/jakerockland","followers_url":"https://api.github.com/users/jakerockland/followers","following_url":"https://api.github.com/users/jakerockland/following{/other_user}","gists_url":"https://api.github.com/users/jakerockland/gists{/gist_id}","starred_url":"https://api.github.com/users/jakerockland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakerockland/subscriptions","organizations_url":"https://api.github.com/users/jakerockland/orgs","repos_url":"https://api.github.com/users/jakerockland/repos","events_url":"https://api.github.com/users/jakerockland/events{/privacy}","received_events_url":"https://api.github.com/users/jakerockland/received_events","type":"User","site_admin":false},"repo":{"id":119403526,"node_id":"MDEwOlJlcG9zaXRvcnkxMTk0MDM1MjY=","name":"vyper","full_name":"jakerockland/vyper","private":false,"owner":{"login":"jakerockland","id":8602661,"node_id":"MDQ6VXNlcjg2MDI2NjE=","avatar_url":"https://avatars3.githubusercontent.com/u/8602661?v=4","gravatar_id":"","url":"https://api.github.com/users/jakerockland","html_url":"https://github.com/jakerockland","followers_url":"https://api.github.com/users/jakerockland/followers","following_url":"https://api.github.com/users/jakerockland/following{/other_user}","gists_url":"https://api.github.com/users/jakerockland/gists{/gist_id}","starred_url":"https://api.github.com/users/jakerockland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakerockland/subscriptions","organizations_url":"https://api.github.com/users/jakerockland/orgs","repos_url":"https://api.github.com/users/jakerockland/repos","events_url":"https://api.github.com/users/jakerockland/events{/privacy}","received_events_url":"https://api.github.com/users/jakerockland/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jakerockland/vyper","description":"New experimental programming language","fork":true,"url":"https://api.github.com/repos/jakerockland/vyper","forks_url":"https://api.github.com/repos/jakerockland/vyper/forks","keys_url":"https://api.github.com/repos/jakerockland/vyper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jakerockland/vyper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jakerockland/vyper/teams","hooks_url":"https://api.github.com/repos/jakerockland/vyper/hooks","issue_events_url":"https://api.github.com/repos/jakerockland/vyper/issues/events{/number}","events_url":"https://api.github.com/repos/jakerockland/vyper/events","assignees_url":"https://api.github.com/repos/jakerockland/vyper/assignees{/user}","branches_url":"https://api.github.com/repos/jakerockland/vyper/branches{/branch}","tags_url":"https://api.github.com/repos/jakerockland/vyper/tags","blobs_url":"https://api.github.com/repos/jakerockland/vyper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jakerockland/vyper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jakerockland/vyper/git/refs{/sha}","trees_url":"https://api.github.com/repos/jakerockland/vyper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jakerockland/vyper/statuses/{sha}","languages_url":"https://api.github.com/repos/jakerockland/vyper/languages","stargazers_url":"https://api.github.com/repos/jakerockland/vyper/stargazers","contributors_url":"https://api.github.com/repos/jakerockland/vyper/contributors","subscribers_url":"https://api.github.com/repos/jakerockland/vyper/subscribers","subscription_url":"https://api.github.com/repos/jakerockland/vyper/subscription","commits_url":"https://api.github.com/repos/jakerockland/vyper/commits{/sha}","git_commits_url":"https://api.github.com/repos/jakerockland/vyper/git/commits{/sha}","comments_url":"https://api.github.com/repos/jakerockland/vyper/comments{/number}","issue_comment_url":"https://api.github.com/repos/jakerockland/vyper/issues/comments{/number}","contents_url":"https://api.github.com/repos/jakerockland/vyper/contents/{+path}","compare_url":"https://api.github.com/repos/jakerockland/vyper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jakerockland/vyper/merges","archive_url":"https://api.github.com/repos/jakerockland/vyper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jakerockland/vyper/downloads","issues_url":"https://api.github.com/repos/jakerockland/vyper/issues{/number}","pulls_url":"https://api.github.com/repos/jakerockland/vyper/pulls{/number}","milestones_url":"https://api.github.com/repos/jakerockland/vyper/milestones{/number}","notifications_url":"https://api.github.com/repos/jakerockland/vyper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jakerockland/vyper/labels{/name}","releases_url":"https://api.github.com/repos/jakerockland/vyper/releases{/id}","deployments_url":"https://api.github.com/repos/jakerockland/vyper/deployments","created_at":"2018-01-29T15:47:03Z","updated_at":"2018-01-29T15:47:05Z","pushed_at":"2018-11-18T19:50:30Z","git_url":"git://github.com/jakerockland/vyper.git","ssh_url":"git@github.com:jakerockland/vyper.git","clone_url":"https://github.com/jakerockland/vyper.git","svn_url":"https://github.com/jakerockland/vyper","homepage":null,"size":3361,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ethereum:master","ref":"master","sha":"17f118483748581b05ec46b63e5ec06719f16d80","user":{"login":"ethereum","id":6250754,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTA3NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6250754?v=4","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"repo":{"id":73461676,"node_id":"MDEwOlJlcG9zaXRvcnk3MzQ2MTY3Ng==","name":"vyper","full_name":"ethereum/vyper","private":false,"owner":{"login":"ethereum","id":6250754,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTA3NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6250754?v=4","gravatar_id":"","url":"https://api.github.com/users/ethereum","html_url":"https://github.com/ethereum","followers_url":"https://api.github.com/users/ethereum/followers","following_url":"https://api.github.com/users/ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethereum/subscriptions","organizations_url":"https://api.github.com/users/ethereum/orgs","repos_url":"https://api.github.com/users/ethereum/repos","events_url":"https://api.github.com/users/ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ethereum/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ethereum/vyper","description":"Pythonic Smart Contract Language for the EVM","fork":false,"url":"https://api.github.com/repos/ethereum/vyper","forks_url":"https://api.github.com/repos/ethereum/vyper/forks","keys_url":"https://api.github.com/repos/ethereum/vyper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ethereum/vyper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ethereum/vyper/teams","hooks_url":"https://api.github.com/repos/ethereum/vyper/hooks","issue_events_url":"https://api.github.com/repos/ethereum/vyper/issues/events{/number}","events_url":"https://api.github.com/repos/ethereum/vyper/events","assignees_url":"https://api.github.com/repos/ethereum/vyper/assignees{/user}","branches_url":"https://api.github.com/repos/ethereum/vyper/branches{/branch}","tags_url":"https://api.github.com/repos/ethereum/vyper/tags","blobs_url":"https://api.github.com/repos/ethereum/vyper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ethereum/vyper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ethereum/vyper/git/refs{/sha}","trees_url":"https://api.github.com/repos/ethereum/vyper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ethereum/vyper/statuses/{sha}","languages_url":"https://api.github.com/repos/ethereum/vyper/languages","stargazers_url":"https://api.github.com/repos/ethereum/vyper/stargazers","contributors_url":"https://api.github.com/repos/ethereum/vyper/contributors","subscribers_url":"https://api.github.com/repos/ethereum/vyper/subscribers","subscription_url":"https://api.github.com/repos/ethereum/vyper/subscription","commits_url":"https://api.github.com/repos/ethereum/vyper/commits{/sha}","git_commits_url":"https://api.github.com/repos/ethereum/vyper/git/commits{/sha}","comments_url":"https://api.github.com/repos/ethereum/vyper/comments{/number}","issue_comment_url":"https://api.github.com/repos/ethereum/vyper/issues/comments{/number}","contents_url":"https://api.github.com/repos/ethereum/vyper/contents/{+path}","compare_url":"https://api.github.com/repos/ethereum/vyper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ethereum/vyper/merges","archive_url":"https://api.github.com/repos/ethereum/vyper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ethereum/vyper/downloads","issues_url":"https://api.github.com/repos/ethereum/vyper/issues{/number}","pulls_url":"https://api.github.com/repos/ethereum/vyper/pulls{/number}","milestones_url":"https://api.github.com/repos/ethereum/vyper/milestones{/number}","notifications_url":"https://api.github.com/repos/ethereum/vyper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ethereum/vyper/labels{/name}","releases_url":"https://api.github.com/repos/ethereum/vyper/releases{/id}","deployments_url":"https://api.github.com/repos/ethereum/vyper/deployments","created_at":"2016-11-11T08:56:41Z","updated_at":"2018-11-21T17:08:41Z","pushed_at":"2018-11-21T20:00:48Z","git_url":"git://github.com/ethereum/vyper.git","ssh_url":"git@github.com:ethereum/vyper.git","clone_url":"https://github.com/ethereum/vyper.git","svn_url":"https://github.com/ethereum/vyper","homepage":"","size":3312,"stargazers_count":2109,"watchers_count":2109,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":330,"mirror_url":null,"archived":false,"open_issues_count":99,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":330,"open_issues":99,"watchers":2109,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ethereum/vyper/pulls/1077"},"html":{"href":"https://github.com/ethereum/vyper/pull/1077"},"issue":{"href":"https://api.github.com/repos/ethereum/vyper/issues/1077"},"comments":{"href":"https://api.github.com/repos/ethereum/vyper/issues/1077/comments"},"review_comments":{"href":"https://api.github.com/repos/ethereum/vyper/pulls/1077/comments"},"review_comment":{"href":"https://api.github.com/repos/ethereum/vyper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ethereum/vyper/pulls/1077/commits"},"statuses":{"href":"https://api.github.com/repos/ethereum/vyper/statuses/7b50e3ee4a38d9dee56ea84a45052d5bb977c9ca"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"jacqueswww","id":6917456,"node_id":"MDQ6VXNlcjY5MTc0NTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6917456?v=4","gravatar_id":"","url":"https://api.github.com/users/jacqueswww","html_url":"https://github.com/jacqueswww","followers_url":"https://api.github.com/users/jacqueswww/followers","following_url":"https://api.github.com/users/jacqueswww/following{/other_user}","gists_url":"https://api.github.com/users/jacqueswww/gists{/gist_id}","starred_url":"https://api.github.com/users/jacqueswww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacqueswww/subscriptions","organizations_url":"https://api.github.com/users/jacqueswww/orgs","repos_url":"https://api.github.com/users/jacqueswww/repos","events_url":"https://api.github.com/users/jacqueswww/events{/privacy}","received_events_url":"https://api.github.com/users/jacqueswww/received_events","type":"User","site_admin":false},"comments":5,"review_comments":1,"maintainer_can_modify":false,"commits":7,"additions":54,"deletions":5,"changed_files":5}}
{"actor":{"display_login":"jacqueswww"}}