{"action":"opened","issue":{"url":"https://api.github.com/repos/daviddrysdale/python-phonenumbers/issues/136","repository_url":"https://api.github.com/repos/daviddrysdale/python-phonenumbers","labels_url":"https://api.github.com/repos/daviddrysdale/python-phonenumbers/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/daviddrysdale/python-phonenumbers/issues/136/comments","events_url":"https://api.github.com/repos/daviddrysdale/python-phonenumbers/issues/136/events","html_url":"https://github.com/daviddrysdale/python-phonenumbers/issues/136","id":395181399,"node_id":"MDU6SXNzdWUzOTUxODEzOTk=","number":136,"title":"Country codes not validated","user":{"login":"McWillie","id":13620206,"node_id":"MDQ6VXNlcjEzNjIwMjA2","avatar_url":"https://avatars2.githubusercontent.com/u/13620206?v=4","gravatar_id":"","url":"https://api.github.com/users/McWillie","html_url":"https://github.com/McWillie","followers_url":"https://api.github.com/users/McWillie/followers","following_url":"https://api.github.com/users/McWillie/following{/other_user}","gists_url":"https://api.github.com/users/McWillie/gists{/gist_id}","starred_url":"https://api.github.com/users/McWillie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/McWillie/subscriptions","organizations_url":"https://api.github.com/users/McWillie/orgs","repos_url":"https://api.github.com/users/McWillie/repos","events_url":"https://api.github.com/users/McWillie/events{/privacy}","received_events_url":"https://api.github.com/users/McWillie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-02T08:52:08Z","updated_at":"2019-01-02T08:52:08Z","closed_at":null,"author_association":"NONE","body":"I read the contributing guidelines and hope this issue is related more to this repo than the Java one.\r\n\r\nWhen trying to use the `PhoneNumberMatcher` with invalid country codes, no error is thrown.\r\nE.g.\r\n`for match in PhoneNumberMatcher(\"Some text with or without a number\", \"INVALID_CC\")\r\n    print(match)`\r\n\r\nThe `parse` method in phonenumberutil.py does seem to do validation, but that's not reflected in the results."}}
{"actor":{"display_login":"McWillie"}}