{"action":"closed","issue":{"url":"https://api.github.com/repos/python/typing/issues/541","repository_url":"https://api.github.com/repos/python/typing","labels_url":"https://api.github.com/repos/python/typing/issues/541/labels{/name}","comments_url":"https://api.github.com/repos/python/typing/issues/541/comments","events_url":"https://api.github.com/repos/python/typing/issues/541/events","html_url":"https://github.com/python/typing/issues/541","id":302592487,"number":541,"title":"divmod does not support overloaded arithmetic (e.g., with __divmod__)","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":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-06T07:32:32Z","updated_at":"2018-03-06T16:56:38Z","closed_at":"2018-03-06T16:56:38Z","author_association":"NONE","body":"It is only defined on int and float:\r\nhttps://github.com/python/typeshed/blob/50c71883000f14ae0bfe622906d3fc4ba1e29875/stdlib/3/builtins.pyi#L804-L805\r\n\r\nThis came up in typing NumPy, which also supports `divmod()` on numpy arrays.\r\n\r\nI doubt it's really worth adding a `SupportsDivmod` class to typing, so let's save this until we have support for custom protocols?"}}
{"actor":{"display_login":"shoyer"}}