{"action":"created","issue":{"url":"https://api.github.com/repos/python/mypy/issues/1313","repository_url":"https://api.github.com/repos/python/mypy","labels_url":"https://api.github.com/repos/python/mypy/issues/1313/labels{/name}","comments_url":"https://api.github.com/repos/python/mypy/issues/1313/comments","events_url":"https://api.github.com/repos/python/mypy/issues/1313/events","html_url":"https://github.com/python/mypy/pull/1313","id":142853879,"number":1313,"title":"Give classmethod first arg a reasonable type. Fixes #292","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-03-23T04:01:26Z","updated_at":"2016-03-23T21:03:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/python/mypy/pulls/1313","html_url":"https://github.com/python/mypy/pull/1313","diff_url":"https://github.com/python/mypy/pull/1313.diff","patch_url":"https://github.com/python/mypy/pull/1313.patch"},"body":"With Jukka's help!"},"comment":{"url":"https://api.github.com/repos/python/mypy/issues/comments/200542417","html_url":"https://github.com/python/mypy/pull/1313#issuecomment-200542417","issue_url":"https://api.github.com/repos/python/mypy/issues/1313","id":200542417,"user":{"login":"JukkaL","id":1107911,"avatar_url":"https://avatars.githubusercontent.com/u/1107911?v=3","gravatar_id":"","url":"https://api.github.com/users/JukkaL","html_url":"https://github.com/JukkaL","followers_url":"https://api.github.com/users/JukkaL/followers","following_url":"https://api.github.com/users/JukkaL/following{/other_user}","gists_url":"https://api.github.com/users/JukkaL/gists{/gist_id}","starred_url":"https://api.github.com/users/JukkaL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JukkaL/subscriptions","organizations_url":"https://api.github.com/users/JukkaL/orgs","repos_url":"https://api.github.com/users/JukkaL/repos","events_url":"https://api.github.com/users/JukkaL/events{/privacy}","received_events_url":"https://api.github.com/users/JukkaL/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T21:03:04Z","updated_at":"2016-03-23T21:03:04Z","body":"The only way is to go through all calls to CallableType and try to\nunderstand if they need to propagate the flag. Most call sites should use\nthe copy_modified helper which might be the only place that needs to do\nthis but I'm not sure. If unsure leave me a note and go ahead and merge\nthis and I'll look at it later as it's unlikely to be serious if it gets\nreset somewhere.\nOn Wed, Mar 23, 2016 at 20:53 Guido van Rossum <notifications@github.com>\nwrote:\n\n> you should verify if the flag needs to be propagated everywhere where we\n> transform callable types\n>\n> Not sure how to verify that?\n>\n> —\n> You are receiving this because you were mentioned.\n>\n>\n> Reply to this email directly or view it on GitHub\n> <https://github.com/python/mypy/pull/1313#issuecomment-200528281>\n>\n"}}