{"action":"created","issue":{"url":"https://api.github.com/repos/python/typeshed/issues/532","repository_url":"https://api.github.com/repos/python/typeshed","labels_url":"https://api.github.com/repos/python/typeshed/issues/532/labels{/name}","comments_url":"https://api.github.com/repos/python/typeshed/issues/532/comments","events_url":"https://api.github.com/repos/python/typeshed/issues/532/events","html_url":"https://github.com/python/typeshed/issues/532","id":176193578,"number":532,"title":"logging module annotations are incomplete","user":{"login":"timabbott","id":2746074,"avatar_url":"https://avatars.githubusercontent.com/u/2746074?v=3","gravatar_id":"","url":"https://api.github.com/users/timabbott","html_url":"https://github.com/timabbott","followers_url":"https://api.github.com/users/timabbott/followers","following_url":"https://api.github.com/users/timabbott/following{/other_user}","gists_url":"https://api.github.com/users/timabbott/gists{/gist_id}","starred_url":"https://api.github.com/users/timabbott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timabbott/subscriptions","organizations_url":"https://api.github.com/users/timabbott/orgs","repos_url":"https://api.github.com/users/timabbott/repos","events_url":"https://api.github.com/users/timabbott/events{/privacy}","received_events_url":"https://api.github.com/users/timabbott/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-10T18:16:44Z","updated_at":"2016-09-13T14:36:45Z","closed_at":"2016-09-13T14:36:45Z","body":"I noticed while annotating a script that while  `logging.critical({5: 1})` (or anything similar where you pass an object that can be converted to a string to the logging functions) works fine in Python, it isn't supported by the stubs in typeshed.\r\n\r\nAs a thing to test, mypy flags it as invalid with this error:\r\n\r\n`/home/tabbott/foo.py:3: error: Argument 1 to \"critical\" has incompatible type Dict[int, int]; expected \"str\"`\r\n"},"comment":{"url":"https://api.github.com/repos/python/typeshed/issues/comments/246702340","html_url":"https://github.com/python/typeshed/issues/532#issuecomment-246702340","issue_url":"https://api.github.com/repos/python/typeshed/issues/532","id":246702340,"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":"2016-09-13T14:36:45Z","updated_at":"2016-09-13T14:36:45Z","body":"OK, then I'll close this and we'll say that mypy found a questionable line in your code. :-)"}}
{"actor":{"display_login":"gvanrossum"}}