{"action":"closed","issue":{"url":"https://api.github.com/repos/python/mypy/issues/1010","repository_url":"https://api.github.com/repos/python/mypy","labels_url":"https://api.github.com/repos/python/mypy/issues/1010/labels{/name}","comments_url":"https://api.github.com/repos/python/mypy/issues/1010/comments","events_url":"https://api.github.com/repos/python/mypy/issues/1010/events","html_url":"https://github.com/python/mypy/issues/1010","id":118938408,"number":1010,"title":"Subclass of dict doesn't inherit special signature","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":[{"url":"https://api.github.com/repos/python/mypy/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/python/mypy/milestones/6","html_url":"https://github.com/python/mypy/milestones/0.5","labels_url":"https://api.github.com/repos/python/mypy/milestones/6/labels","id":1616659,"number":6,"title":"0.5","description":"","creator":{"login":"ddfisher","id":245905,"avatar_url":"https://avatars.githubusercontent.com/u/245905?v=3","gravatar_id":"","url":"https://api.github.com/users/ddfisher","html_url":"https://github.com/ddfisher","followers_url":"https://api.github.com/users/ddfisher/followers","following_url":"https://api.github.com/users/ddfisher/following{/other_user}","gists_url":"https://api.github.com/users/ddfisher/gists{/gist_id}","starred_url":"https://api.github.com/users/ddfisher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddfisher/subscriptions","organizations_url":"https://api.github.com/users/ddfisher/orgs","repos_url":"https://api.github.com/users/ddfisher/repos","events_url":"https://api.github.com/users/ddfisher/events{/privacy}","received_events_url":"https://api.github.com/users/ddfisher/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":1,"state":"open","created_at":"2016-03-01T23:42:18Z","updated_at":"2016-04-18T03:28:18Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-11-25T22:59:53Z","updated_at":"2016-04-18T03:28:18Z","closed_at":"2016-04-18T03:28:18Z","body":"Consider:\r\n```\r\nclass C(dict):\r\n    pass\r\nx = C(a=1, b=2)\r\n```\r\nPython accepts this, but mypy complains:\r\n```\r\n/Users/guido/mypy_tests/mypy_dict_subclass.py:3: error: No overload variant of \"C\" matches argument types [builtins.int, builtins.int]\r\n```\r\nBut `dict(a=1, b=2)` works."}}