{"action":"created","issue":{"url":"https://api.github.com/repos/python/typeshed/issues/1904","repository_url":"https://api.github.com/repos/python/typeshed","labels_url":"https://api.github.com/repos/python/typeshed/issues/1904/labels{/name}","comments_url":"https://api.github.com/repos/python/typeshed/issues/1904/comments","events_url":"https://api.github.com/repos/python/typeshed/issues/1904/events","html_url":"https://github.com/python/typeshed/issues/1904","id":298503911,"number":1904,"title":"complex should support SupportsComplex","user":{"login":"shoyer","id":1217238,"avatar_url":"https://avatars2.githubusercontent.com/u/1217238?v=4","gravatar_id":"","url":"https://api.github.com/users/shoyer","html_url":"https://github.com/shoyer","followers_url":"https://api.github.com/users/shoyer/followers","following_url":"https://api.github.com/users/shoyer/following{/other_user}","gists_url":"https://api.github.com/users/shoyer/gists{/gist_id}","starred_url":"https://api.github.com/users/shoyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoyer/subscriptions","organizations_url":"https://api.github.com/users/shoyer/orgs","repos_url":"https://api.github.com/users/shoyer/repos","events_url":"https://api.github.com/users/shoyer/events{/privacy}","received_events_url":"https://api.github.com/users/shoyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-20T08:12:22Z","updated_at":"2018-02-20T17:07:58Z","closed_at":null,"author_association":"NONE","body":"As @gvanrossum points out in https://github.com/python/mypy/issues/4592:\r\n\r\n> Both the Py2 and Py3 definition of class `complex` there are lacking several things -- a base class of `SupportsComplex` and an overload of the constructor to take a `SupportsComplex` value.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/python/typeshed/issues/comments/367047233","html_url":"https://github.com/python/typeshed/issues/1904#issuecomment-367047233","issue_url":"https://api.github.com/repos/python/typeshed/issues/1904","id":367047233,"user":{"login":"gvanrossum","id":2894642,"avatar_url":"https://avatars3.githubusercontent.com/u/2894642?v=4","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":"2018-02-20T17:07:58Z","updated_at":"2018-02-20T17:07:58Z","author_association":"OWNER","body":"Good point, I always forget about Protocols. But the complex class\ndefinitely needs another constructor overload.\n"}}
{"actor":{"display_login":"gvanrossum"}}