{"action":"opened","number":497,"pull_request":{"url":"https://api.github.com/repos/Harmon758/Harmonbot/pulls/497","id":237072754,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MDcyNzU0","html_url":"https://github.com/Harmon758/Harmonbot/pull/497","diff_url":"https://github.com/Harmon758/Harmonbot/pull/497.diff","patch_url":"https://github.com/Harmon758/Harmonbot/pull/497.patch","issue_url":"https://api.github.com/repos/Harmon758/Harmonbot/issues/497","number":497,"state":"open","locked":false,"title":"Update pycountry to 18.12.8","user":{"login":"pyup-bot","id":16239342,"node_id":"MDQ6VXNlcjE2MjM5MzQy","avatar_url":"https://avatars0.githubusercontent.com/u/16239342?v=4","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"body":"\nThis PR updates [pycountry](https://pypi.org/project/pycountry) from **18.5.26** to **18.12.8**.\n\n\n\n<details>\n  <summary>Changelog</summary>\n  \n  \n   ### 18.12.8\n   ```\n   --------------------\n\nWARNING: This release contains a subtle but important API change that may break\nintegrations!\n\nLooking at 13416 I realized that I made a terrible API design choice with\nrespect to how the `get` function should behave in Python. Probably under the\ninfluence of either too little or too much whiskey I went and implemented `get`\nso that it raises a KeyError instead of doing the Pythonic thing and returning\nNone and allowing to customize the `default`. There was a bit of back-and-forth\naround this code in previous releases (specifically touching edge cases to\nhave the Subdivision API behave &quot;reasonably&quot;, although there doesn&#39;t seem\nto be *one* right way there.)\n\nAnyway, when preparing this release and reviewing 13416 and the other related\nissues and changes from the past I noticed my mistake an decide to fix it\ngoing forward.\n\nSo, from now on `get` will behave as expected in Python and yes, this means\nyou will have to update your integration code carefully now checking for\n`None` returns instead of expecting KeyErrors. This is work, but I think it&#39;s\nworthwhile to uphold this convention within the Python community.\n\n- Switch API from &quot;get + KeyError&quot; to &quot; get + default=None&quot;. This is\n  a subtle API-breaking change. Please update carefully. (13416)\n\n- Update to iso-codes 4.1.\n   ```\n   \n  \n</details>\n\n\n \n\n<details>\n  <summary>Links</summary>\n  \n  - PyPI: https://pypi.org/project/pycountry\n  - Changelog: https://pyup.io/changelogs/pycountry/\n</details>\n\n","created_at":"2018-12-08T15:06:36Z","updated_at":"2018-12-08T15:06:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Harmon758/Harmonbot/pulls/497/commits","review_comments_url":"https://api.github.com/repos/Harmon758/Harmonbot/pulls/497/comments","review_comment_url":"https://api.github.com/repos/Harmon758/Harmonbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Harmon758/Harmonbot/issues/497/comments","statuses_url":"https://api.github.com/repos/Harmon758/Harmonbot/statuses/e7839770bb545b278911474212ea98e8f0df3acd","head":{"label":"Harmon758:pyup-update-pycountry-18.5.26-to-18.12.8","ref":"pyup-update-pycountry-18.5.26-to-18.12.8","sha":"e7839770bb545b278911474212ea98e8f0df3acd","user":{"login":"Harmon758","id":9403740,"node_id":"MDQ6VXNlcjk0MDM3NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/9403740?v=4","gravatar_id":"","url":"https://api.github.com/users/Harmon758","html_url":"https://github.com/Harmon758","followers_url":"https://api.github.com/users/Harmon758/followers","following_url":"https://api.github.com/users/Harmon758/following{/other_user}","gists_url":"https://api.github.com/users/Harmon758/gists{/gist_id}","starred_url":"https://api.github.com/users/Harmon758/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Harmon758/subscriptions","organizations_url":"https://api.github.com/users/Harmon758/orgs","repos_url":"https://api.github.com/users/Harmon758/repos","events_url":"https://api.github.com/users/Harmon758/events{/privacy}","received_events_url":"https://api.github.com/users/Harmon758/received_events","type":"User","site_admin":false},"repo":{"id":51500264,"node_id":"MDEwOlJlcG9zaXRvcnk1MTUwMDI2NA==","name":"Harmonbot","full_name":"Harmon758/Harmonbot","private":false,"owner":{"login":"Harmon758","id":9403740,"node_id":"MDQ6VXNlcjk0MDM3NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/9403740?v=4","gravatar_id":"","url":"https://api.github.com/users/Harmon758","html_url":"https://github.com/Harmon758","followers_url":"https://api.github.com/users/Harmon758/followers","following_url":"https://api.github.com/users/Harmon758/following{/other_user}","gists_url":"https://api.github.com/users/Harmon758/gists{/gist_id}","starred_url":"https://api.github.com/users/Harmon758/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Harmon758/subscriptions","organizations_url":"https://api.github.com/users/Harmon758/orgs","repos_url":"https://api.github.com/users/Harmon758/repos","events_url":"https://api.github.com/users/Harmon758/events{/privacy}","received_events_url":"https://api.github.com/users/Harmon758/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Harmon758/Harmonbot","description":"Multi-Platform Factotum Bot","fork":false,"url":"https://api.github.com/repos/Harmon758/Harmonbot","forks_url":"https://api.github.com/repos/Harmon758/Harmonbot/forks","keys_url":"https://api.github.com/repos/Harmon758/Harmonbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Harmon758/Harmonbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Harmon758/Harmonbot/teams","hooks_url":"https://api.github.com/repos/Harmon758/Harmonbot/hooks","issue_events_url":"https://api.github.com/repos/Harmon758/Harmonbot/issues/events{/number}","events_url":"https://api.github.com/repos/Harmon758/Harmonbot/events","assignees_url":"https://api.github.com/repos/Harmon758/Harmonbot/assignees{/user}","branches_url":"https://api.github.com/repos/Harmon758/Harmonbot/branches{/branch}","tags_url":"https://api.github.com/repos/Harmon758/Harmonbot/tags","blobs_url":"https://api.github.com/repos/Harmon758/Harmonbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Harmon758/Harmonbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Harmon758/Harmonbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Harmon758/Harmonbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Harmon758/Harmonbot/statuses/{sha}","languages_url":"https://api.github.com/repos/Harmon758/Harmonbot/languages","stargazers_url":"https://api.github.com/repos/Harmon758/Harmonbot/stargazers","contributors_url":"https://api.github.com/repos/Harmon758/Harmonbot/contributors","subscribers_url":"https://api.github.com/repos/Harmon758/Harmonbot/subscribers","subscription_url":"https://api.github.com/repos/Harmon758/Harmonbot/subscription","commits_url":"https://api.github.com/repos/Harmon758/Harmonbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Harmon758/Harmonbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Harmon758/Harmonbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Harmon758/Harmonbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Harmon758/Harmonbot/contents/{+path}","compare_url":"https://api.github.com/repos/Harmon758/Harmonbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Harmon758/Harmonbot/merges","archive_url":"https://api.github.com/repos/Harmon758/Harmonbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Harmon758/Harmonbot/downloads","issues_url":"https://api.github.com/repos/Harmon758/Harmonbot/issues{/number}","pulls_url":"https://api.github.com/repos/Harmon758/Harmonbot/pulls{/number}","milestones_url":"https://api.github.com/repos/Harmon758/Harmonbot/milestones{/number}","notifications_url":"https://api.github.com/repos/Harmon758/Harmonbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Harmon758/Harmonbot/labels{/name}","releases_url":"https://api.github.com/repos/Harmon758/Harmonbot/releases{/id}","deployments_url":"https://api.github.com/repos/Harmon758/Harmonbot/deployments","created_at":"2016-02-11T07:31:00Z","updated_at":"2018-12-08T06:27:30Z","pushed_at":"2018-12-08T15:06:36Z","git_url":"git://github.com/Harmon758/Harmonbot.git","ssh_url":"git@github.com:Harmon758/Harmonbot.git","clone_url":"https://github.com/Harmon758/Harmonbot.git","svn_url":"https://github.com/Harmon758/Harmonbot","homepage":"https://discord.gg/MNAVKMd","size":92547,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":4,"watchers":8,"default_branch":"rewrite"}},"base":{"label":"Harmon758:rewrite","ref":"rewrite","sha":"2ee30f1766c588e26557b22c5c91ba5e9c305300","user":{"login":"Harmon758","id":9403740,"node_id":"MDQ6VXNlcjk0MDM3NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/9403740?v=4","gravatar_id":"","url":"https://api.github.com/users/Harmon758","html_url":"https://github.com/Harmon758","followers_url":"https://api.github.com/users/Harmon758/followers","following_url":"https://api.github.com/users/Harmon758/following{/other_user}","gists_url":"https://api.github.com/users/Harmon758/gists{/gist_id}","starred_url":"https://api.github.com/users/Harmon758/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Harmon758/subscriptions","organizations_url":"https://api.github.com/users/Harmon758/orgs","repos_url":"https://api.github.com/users/Harmon758/repos","events_url":"https://api.github.com/users/Harmon758/events{/privacy}","received_events_url":"https://api.github.com/users/Harmon758/received_events","type":"User","site_admin":false},"repo":{"id":51500264,"node_id":"MDEwOlJlcG9zaXRvcnk1MTUwMDI2NA==","name":"Harmonbot","full_name":"Harmon758/Harmonbot","private":false,"owner":{"login":"Harmon758","id":9403740,"node_id":"MDQ6VXNlcjk0MDM3NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/9403740?v=4","gravatar_id":"","url":"https://api.github.com/users/Harmon758","html_url":"https://github.com/Harmon758","followers_url":"https://api.github.com/users/Harmon758/followers","following_url":"https://api.github.com/users/Harmon758/following{/other_user}","gists_url":"https://api.github.com/users/Harmon758/gists{/gist_id}","starred_url":"https://api.github.com/users/Harmon758/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Harmon758/subscriptions","organizations_url":"https://api.github.com/users/Harmon758/orgs","repos_url":"https://api.github.com/users/Harmon758/repos","events_url":"https://api.github.com/users/Harmon758/events{/privacy}","received_events_url":"https://api.github.com/users/Harmon758/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Harmon758/Harmonbot","description":"Multi-Platform Factotum Bot","fork":false,"url":"https://api.github.com/repos/Harmon758/Harmonbot","forks_url":"https://api.github.com/repos/Harmon758/Harmonbot/forks","keys_url":"https://api.github.com/repos/Harmon758/Harmonbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Harmon758/Harmonbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Harmon758/Harmonbot/teams","hooks_url":"https://api.github.com/repos/Harmon758/Harmonbot/hooks","issue_events_url":"https://api.github.com/repos/Harmon758/Harmonbot/issues/events{/number}","events_url":"https://api.github.com/repos/Harmon758/Harmonbot/events","assignees_url":"https://api.github.com/repos/Harmon758/Harmonbot/assignees{/user}","branches_url":"https://api.github.com/repos/Harmon758/Harmonbot/branches{/branch}","tags_url":"https://api.github.com/repos/Harmon758/Harmonbot/tags","blobs_url":"https://api.github.com/repos/Harmon758/Harmonbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Harmon758/Harmonbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Harmon758/Harmonbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Harmon758/Harmonbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Harmon758/Harmonbot/statuses/{sha}","languages_url":"https://api.github.com/repos/Harmon758/Harmonbot/languages","stargazers_url":"https://api.github.com/repos/Harmon758/Harmonbot/stargazers","contributors_url":"https://api.github.com/repos/Harmon758/Harmonbot/contributors","subscribers_url":"https://api.github.com/repos/Harmon758/Harmonbot/subscribers","subscription_url":"https://api.github.com/repos/Harmon758/Harmonbot/subscription","commits_url":"https://api.github.com/repos/Harmon758/Harmonbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Harmon758/Harmonbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Harmon758/Harmonbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Harmon758/Harmonbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Harmon758/Harmonbot/contents/{+path}","compare_url":"https://api.github.com/repos/Harmon758/Harmonbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Harmon758/Harmonbot/merges","archive_url":"https://api.github.com/repos/Harmon758/Harmonbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Harmon758/Harmonbot/downloads","issues_url":"https://api.github.com/repos/Harmon758/Harmonbot/issues{/number}","pulls_url":"https://api.github.com/repos/Harmon758/Harmonbot/pulls{/number}","milestones_url":"https://api.github.com/repos/Harmon758/Harmonbot/milestones{/number}","notifications_url":"https://api.github.com/repos/Harmon758/Harmonbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Harmon758/Harmonbot/labels{/name}","releases_url":"https://api.github.com/repos/Harmon758/Harmonbot/releases{/id}","deployments_url":"https://api.github.com/repos/Harmon758/Harmonbot/deployments","created_at":"2016-02-11T07:31:00Z","updated_at":"2018-12-08T06:27:30Z","pushed_at":"2018-12-08T15:06:36Z","git_url":"git://github.com/Harmon758/Harmonbot.git","ssh_url":"git@github.com:Harmon758/Harmonbot.git","clone_url":"https://github.com/Harmon758/Harmonbot.git","svn_url":"https://github.com/Harmon758/Harmonbot","homepage":"https://discord.gg/MNAVKMd","size":92547,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":4,"watchers":8,"default_branch":"rewrite"}},"_links":{"self":{"href":"https://api.github.com/repos/Harmon758/Harmonbot/pulls/497"},"html":{"href":"https://github.com/Harmon758/Harmonbot/pull/497"},"issue":{"href":"https://api.github.com/repos/Harmon758/Harmonbot/issues/497"},"comments":{"href":"https://api.github.com/repos/Harmon758/Harmonbot/issues/497/comments"},"review_comments":{"href":"https://api.github.com/repos/Harmon758/Harmonbot/pulls/497/comments"},"review_comment":{"href":"https://api.github.com/repos/Harmon758/Harmonbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Harmon758/Harmonbot/pulls/497/commits"},"statuses":{"href":"https://api.github.com/repos/Harmon758/Harmonbot/statuses/e7839770bb545b278911474212ea98e8f0df3acd"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"pyup-bot"}}