{"action":"created","issue":{"url":"https://api.github.com/repos/python/typeshed/issues/911","repository_url":"https://api.github.com/repos/python/typeshed","labels_url":"https://api.github.com/repos/python/typeshed/issues/911/labels{/name}","comments_url":"https://api.github.com/repos/python/typeshed/issues/911/comments","events_url":"https://api.github.com/repos/python/typeshed/issues/911/events","html_url":"https://github.com/python/typeshed/pull/911","id":204446076,"number":911,"title":"Improved pytz support for timezone function","user":{"login":"sceeter89","id":6024799,"avatar_url":"https://avatars.githubusercontent.com/u/6024799?v=3","gravatar_id":"","url":"https://api.github.com/users/sceeter89","html_url":"https://github.com/sceeter89","followers_url":"https://api.github.com/users/sceeter89/followers","following_url":"https://api.github.com/users/sceeter89/following{/other_user}","gists_url":"https://api.github.com/users/sceeter89/gists{/gist_id}","starred_url":"https://api.github.com/users/sceeter89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sceeter89/subscriptions","organizations_url":"https://api.github.com/users/sceeter89/orgs","repos_url":"https://api.github.com/users/sceeter89/repos","events_url":"https://api.github.com/users/sceeter89/events{/privacy}","received_events_url":"https://api.github.com/users/sceeter89/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-31T22:42:32Z","updated_at":"2017-02-03T18:55:07Z","closed_at":"2017-02-03T18:55:00Z","pull_request":{"url":"https://api.github.com/repos/python/typeshed/pulls/911","html_url":"https://github.com/python/typeshed/pull/911","diff_url":"https://github.com/python/typeshed/pull/911.diff","patch_url":"https://github.com/python/typeshed/pull/911.patch"},"body":"Currently definition of `timezone` function of `pytz` package declares that this function returns `datetime.tzinfo`, but in fact it's one of two classes derived from `datetime.tzinfo`. It hurts, because `mypy` complains that: `error: \"tzinfo\" has no attribute \"localize\"`.\r\n\r\nAlso, as mentioned in https://github.com/python/typeshed/pull/848 I added underscore to name of introduced helper type."},"comment":{"url":"https://api.github.com/repos/python/typeshed/issues/comments/277330802","html_url":"https://github.com/python/typeshed/pull/911#issuecomment-277330802","issue_url":"https://api.github.com/repos/python/typeshed/issues/911","id":277330802,"user":{"login":"gvanrossum","id":2894642,"avatar_url":"https://avatars.githubusercontent.com/u/2894642?v=3","gravatar_id":"","url":"https://api.github.com/users/gvanrossum","html_url":"https://github.com/gvanrossum","followers_url":"https://api.github.com/users/gvanrossum/followers","following_url":"https://api.github.com/users/gvanrossum/following{/other_user}","gists_url":"https://api.github.com/users/gvanrossum/gists{/gist_id}","starred_url":"https://api.github.com/users/gvanrossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvanrossum/subscriptions","organizations_url":"https://api.github.com/users/gvanrossum/orgs","repos_url":"https://api.github.com/users/gvanrossum/repos","events_url":"https://api.github.com/users/gvanrossum/events{/privacy}","received_events_url":"https://api.github.com/users/gvanrossum/received_events","type":"User","site_admin":false},"created_at":"2017-02-03T18:55:07Z","updated_at":"2017-02-03T18:55:07Z","body":"Perfect!"}}
{"actor":{"display_login":"gvanrossum"}}