{"action":"closed","number":351,"pull_request":{"url":"https://api.github.com/repos/python/typeshed/pulls/351","id":76943192,"html_url":"https://github.com/python/typeshed/pull/351","diff_url":"https://github.com/python/typeshed/pull/351.diff","patch_url":"https://github.com/python/typeshed/pull/351.patch","issue_url":"https://api.github.com/repos/python/typeshed/issues/351","number":351,"state":"closed","locked":false,"title":"add bytearray.insert","user":{"login":"tharvik","id":5735566,"avatar_url":"https://avatars.githubusercontent.com/u/5735566?v=3","gravatar_id":"","url":"https://api.github.com/users/tharvik","html_url":"https://github.com/tharvik","followers_url":"https://api.github.com/users/tharvik/followers","following_url":"https://api.github.com/users/tharvik/following{/other_user}","gists_url":"https://api.github.com/users/tharvik/gists{/gist_id}","starred_url":"https://api.github.com/users/tharvik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tharvik/subscriptions","organizations_url":"https://api.github.com/users/tharvik/orgs","repos_url":"https://api.github.com/users/tharvik/repos","events_url":"https://api.github.com/users/tharvik/events{/privacy}","received_events_url":"https://api.github.com/users/tharvik/received_events","type":"User","site_admin":false},"body":"```python\r\nbytearray(10).insert(0, 20)\r\n```\r\nis a valid python code but mypy shows\r\n```\r\n/tmp/asd.py:1: error: Cannot instantiate abstract class 'bytearray' with abstract attribute 'insert'\r\n```\r\n\r\nThis PR fixes this.","created_at":"2016-07-11T12:12:28Z","updated_at":"2016-07-11T13:07:03Z","closed_at":"2016-07-11T13:07:03Z","merged_at":"2016-07-11T13:07:03Z","merge_commit_sha":"9e432889feb23b324ed4d05d8f684cfddf26d334","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/python/typeshed/pulls/351/commits","review_comments_url":"https://api.github.com/repos/python/typeshed/pulls/351/comments","review_comment_url":"https://api.github.com/repos/python/typeshed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/python/typeshed/issues/351/comments","statuses_url":"https://api.github.com/repos/python/typeshed/statuses/0e635efa6cbd325d512ecc49eb386002a974b64e","head":{"label":"tharvik:fix_bytearray","ref":"fix_bytearray","sha":"0e635efa6cbd325d512ecc49eb386002a974b64e","user":{"login":"tharvik","id":5735566,"avatar_url":"https://avatars.githubusercontent.com/u/5735566?v=3","gravatar_id":"","url":"https://api.github.com/users/tharvik","html_url":"https://github.com/tharvik","followers_url":"https://api.github.com/users/tharvik/followers","following_url":"https://api.github.com/users/tharvik/following{/other_user}","gists_url":"https://api.github.com/users/tharvik/gists{/gist_id}","starred_url":"https://api.github.com/users/tharvik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tharvik/subscriptions","organizations_url":"https://api.github.com/users/tharvik/orgs","repos_url":"https://api.github.com/users/tharvik/repos","events_url":"https://api.github.com/users/tharvik/events{/privacy}","received_events_url":"https://api.github.com/users/tharvik/received_events","type":"User","site_admin":false},"repo":{"id":55181074,"name":"typeshed","full_name":"tharvik/typeshed","owner":{"login":"tharvik","id":5735566,"avatar_url":"https://avatars.githubusercontent.com/u/5735566?v=3","gravatar_id":"","url":"https://api.github.com/users/tharvik","html_url":"https://github.com/tharvik","followers_url":"https://api.github.com/users/tharvik/followers","following_url":"https://api.github.com/users/tharvik/following{/other_user}","gists_url":"https://api.github.com/users/tharvik/gists{/gist_id}","starred_url":"https://api.github.com/users/tharvik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tharvik/subscriptions","organizations_url":"https://api.github.com/users/tharvik/orgs","repos_url":"https://api.github.com/users/tharvik/repos","events_url":"https://api.github.com/users/tharvik/events{/privacy}","received_events_url":"https://api.github.com/users/tharvik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tharvik/typeshed","description":"Collection of library stubs for Python, with static types","fork":true,"url":"https://api.github.com/repos/tharvik/typeshed","forks_url":"https://api.github.com/repos/tharvik/typeshed/forks","keys_url":"https://api.github.com/repos/tharvik/typeshed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tharvik/typeshed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tharvik/typeshed/teams","hooks_url":"https://api.github.com/repos/tharvik/typeshed/hooks","issue_events_url":"https://api.github.com/repos/tharvik/typeshed/issues/events{/number}","events_url":"https://api.github.com/repos/tharvik/typeshed/events","assignees_url":"https://api.github.com/repos/tharvik/typeshed/assignees{/user}","branches_url":"https://api.github.com/repos/tharvik/typeshed/branches{/branch}","tags_url":"https://api.github.com/repos/tharvik/typeshed/tags","blobs_url":"https://api.github.com/repos/tharvik/typeshed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tharvik/typeshed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tharvik/typeshed/git/refs{/sha}","trees_url":"https://api.github.com/repos/tharvik/typeshed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tharvik/typeshed/statuses/{sha}","languages_url":"https://api.github.com/repos/tharvik/typeshed/languages","stargazers_url":"https://api.github.com/repos/tharvik/typeshed/stargazers","contributors_url":"https://api.github.com/repos/tharvik/typeshed/contributors","subscribers_url":"https://api.github.com/repos/tharvik/typeshed/subscribers","subscription_url":"https://api.github.com/repos/tharvik/typeshed/subscription","commits_url":"https://api.github.com/repos/tharvik/typeshed/commits{/sha}","git_commits_url":"https://api.github.com/repos/tharvik/typeshed/git/commits{/sha}","comments_url":"https://api.github.com/repos/tharvik/typeshed/comments{/number}","issue_comment_url":"https://api.github.com/repos/tharvik/typeshed/issues/comments{/number}","contents_url":"https://api.github.com/repos/tharvik/typeshed/contents/{+path}","compare_url":"https://api.github.com/repos/tharvik/typeshed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tharvik/typeshed/merges","archive_url":"https://api.github.com/repos/tharvik/typeshed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tharvik/typeshed/downloads","issues_url":"https://api.github.com/repos/tharvik/typeshed/issues{/number}","pulls_url":"https://api.github.com/repos/tharvik/typeshed/pulls{/number}","milestones_url":"https://api.github.com/repos/tharvik/typeshed/milestones{/number}","notifications_url":"https://api.github.com/repos/tharvik/typeshed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tharvik/typeshed/labels{/name}","releases_url":"https://api.github.com/repos/tharvik/typeshed/releases{/id}","deployments_url":"https://api.github.com/repos/tharvik/typeshed/deployments","created_at":"2016-03-31T20:33:16Z","updated_at":"2016-03-31T20:33:19Z","pushed_at":"2016-07-11T12:05:47Z","git_url":"git://github.com/tharvik/typeshed.git","ssh_url":"git@github.com:tharvik/typeshed.git","clone_url":"https://github.com/tharvik/typeshed.git","svn_url":"https://github.com/tharvik/typeshed","homepage":null,"size":1050,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"python:master","ref":"master","sha":"6248885ccca13d9b830584fb880c97d8b612b87b","user":{"login":"python","id":1525981,"avatar_url":"https://avatars.githubusercontent.com/u/1525981?v=3","gravatar_id":"","url":"https://api.github.com/users/python","html_url":"https://github.com/python","followers_url":"https://api.github.com/users/python/followers","following_url":"https://api.github.com/users/python/following{/other_user}","gists_url":"https://api.github.com/users/python/gists{/gist_id}","starred_url":"https://api.github.com/users/python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python/subscriptions","organizations_url":"https://api.github.com/users/python/orgs","repos_url":"https://api.github.com/users/python/repos","events_url":"https://api.github.com/users/python/events{/privacy}","received_events_url":"https://api.github.com/users/python/received_events","type":"Organization","site_admin":false},"repo":{"id":31696383,"name":"typeshed","full_name":"python/typeshed","owner":{"login":"python","id":1525981,"avatar_url":"https://avatars.githubusercontent.com/u/1525981?v=3","gravatar_id":"","url":"https://api.github.com/users/python","html_url":"https://github.com/python","followers_url":"https://api.github.com/users/python/followers","following_url":"https://api.github.com/users/python/following{/other_user}","gists_url":"https://api.github.com/users/python/gists{/gist_id}","starred_url":"https://api.github.com/users/python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python/subscriptions","organizations_url":"https://api.github.com/users/python/orgs","repos_url":"https://api.github.com/users/python/repos","events_url":"https://api.github.com/users/python/events{/privacy}","received_events_url":"https://api.github.com/users/python/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/python/typeshed","description":"Collection of library stubs for Python, with static types","fork":false,"url":"https://api.github.com/repos/python/typeshed","forks_url":"https://api.github.com/repos/python/typeshed/forks","keys_url":"https://api.github.com/repos/python/typeshed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python/typeshed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python/typeshed/teams","hooks_url":"https://api.github.com/repos/python/typeshed/hooks","issue_events_url":"https://api.github.com/repos/python/typeshed/issues/events{/number}","events_url":"https://api.github.com/repos/python/typeshed/events","assignees_url":"https://api.github.com/repos/python/typeshed/assignees{/user}","branches_url":"https://api.github.com/repos/python/typeshed/branches{/branch}","tags_url":"https://api.github.com/repos/python/typeshed/tags","blobs_url":"https://api.github.com/repos/python/typeshed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python/typeshed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python/typeshed/git/refs{/sha}","trees_url":"https://api.github.com/repos/python/typeshed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python/typeshed/statuses/{sha}","languages_url":"https://api.github.com/repos/python/typeshed/languages","stargazers_url":"https://api.github.com/repos/python/typeshed/stargazers","contributors_url":"https://api.github.com/repos/python/typeshed/contributors","subscribers_url":"https://api.github.com/repos/python/typeshed/subscribers","subscription_url":"https://api.github.com/repos/python/typeshed/subscription","commits_url":"https://api.github.com/repos/python/typeshed/commits{/sha}","git_commits_url":"https://api.github.com/repos/python/typeshed/git/commits{/sha}","comments_url":"https://api.github.com/repos/python/typeshed/comments{/number}","issue_comment_url":"https://api.github.com/repos/python/typeshed/issues/comments{/number}","contents_url":"https://api.github.com/repos/python/typeshed/contents/{+path}","compare_url":"https://api.github.com/repos/python/typeshed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python/typeshed/merges","archive_url":"https://api.github.com/repos/python/typeshed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python/typeshed/downloads","issues_url":"https://api.github.com/repos/python/typeshed/issues{/number}","pulls_url":"https://api.github.com/repos/python/typeshed/pulls{/number}","milestones_url":"https://api.github.com/repos/python/typeshed/milestones{/number}","notifications_url":"https://api.github.com/repos/python/typeshed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python/typeshed/labels{/name}","releases_url":"https://api.github.com/repos/python/typeshed/releases{/id}","deployments_url":"https://api.github.com/repos/python/typeshed/deployments","created_at":"2015-03-05T04:51:28Z","updated_at":"2016-07-04T13:49:44Z","pushed_at":"2016-07-11T13:07:03Z","git_url":"git://github.com/python/typeshed.git","ssh_url":"git@github.com:python/typeshed.git","clone_url":"https://github.com/python/typeshed.git","svn_url":"https://github.com/python/typeshed","homepage":null,"size":1219,"stargazers_count":185,"watchers_count":185,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":99,"mirror_url":null,"open_issues_count":69,"forks":99,"open_issues":69,"watchers":185,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/python/typeshed/pulls/351"},"html":{"href":"https://github.com/python/typeshed/pull/351"},"issue":{"href":"https://api.github.com/repos/python/typeshed/issues/351"},"comments":{"href":"https://api.github.com/repos/python/typeshed/issues/351/comments"},"review_comments":{"href":"https://api.github.com/repos/python/typeshed/pulls/351/comments"},"review_comment":{"href":"https://api.github.com/repos/python/typeshed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/python/typeshed/pulls/351/commits"},"statuses":{"href":"https://api.github.com/repos/python/typeshed/statuses/0e635efa6cbd325d512ecc49eb386002a974b64e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"matthiaskramm","id":306087,"avatar_url":"https://avatars.githubusercontent.com/u/306087?v=3","gravatar_id":"","url":"https://api.github.com/users/matthiaskramm","html_url":"https://github.com/matthiaskramm","followers_url":"https://api.github.com/users/matthiaskramm/followers","following_url":"https://api.github.com/users/matthiaskramm/following{/other_user}","gists_url":"https://api.github.com/users/matthiaskramm/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiaskramm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiaskramm/subscriptions","organizations_url":"https://api.github.com/users/matthiaskramm/orgs","repos_url":"https://api.github.com/users/matthiaskramm/repos","events_url":"https://api.github.com/users/matthiaskramm/events{/privacy}","received_events_url":"https://api.github.com/users/matthiaskramm/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"matthiaskramm"}}