{"action":"opened","number":728,"pull_request":{"url":"https://api.github.com/repos/JukkaL/mypy/pulls/728","id":40847118,"html_url":"https://github.com/JukkaL/mypy/pull/728","diff_url":"https://github.com/JukkaL/mypy/pull/728.diff","patch_url":"https://github.com/JukkaL/mypy/pull/728.patch","issue_url":"https://api.github.com/repos/JukkaL/mypy/issues/728","number":728,"state":"open","locked":false,"title":"MYPY-137: Disallow assignment to None, False, True and __debug__","user":{"login":"i80and","id":334192,"avatar_url":"https://avatars.githubusercontent.com/u/334192?v=3","gravatar_id":"","url":"https://api.github.com/users/i80and","html_url":"https://github.com/i80and","followers_url":"https://api.github.com/users/i80and/followers","following_url":"https://api.github.com/users/i80and/following{/other_user}","gists_url":"https://api.github.com/users/i80and/gists{/gist_id}","starred_url":"https://api.github.com/users/i80and/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i80and/subscriptions","organizations_url":"https://api.github.com/users/i80and/orgs","repos_url":"https://api.github.com/users/i80and/repos","events_url":"https://api.github.com/users/i80and/events{/privacy}","received_events_url":"https://api.github.com/users/i80and/received_events","type":"User","site_admin":false},"body":"Not sure that this is architecturally the \"best\" solution; open to feedback on how else to structure it.\r\n\r\nSolves https://github.com/JukkaL/mypy/issues/137","created_at":"2015-07-26T03:14:08Z","updated_at":"2015-07-26T03:14:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JukkaL/mypy/pulls/728/commits","review_comments_url":"https://api.github.com/repos/JukkaL/mypy/pulls/728/comments","review_comment_url":"https://api.github.com/repos/JukkaL/mypy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JukkaL/mypy/issues/728/comments","statuses_url":"https://api.github.com/repos/JukkaL/mypy/statuses/9444acffe9069569846f0adef73df62fd381835d","head":{"label":"i80and:MYPY-137","ref":"MYPY-137","sha":"9444acffe9069569846f0adef73df62fd381835d","user":{"login":"i80and","id":334192,"avatar_url":"https://avatars.githubusercontent.com/u/334192?v=3","gravatar_id":"","url":"https://api.github.com/users/i80and","html_url":"https://github.com/i80and","followers_url":"https://api.github.com/users/i80and/followers","following_url":"https://api.github.com/users/i80and/following{/other_user}","gists_url":"https://api.github.com/users/i80and/gists{/gist_id}","starred_url":"https://api.github.com/users/i80and/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i80and/subscriptions","organizations_url":"https://api.github.com/users/i80and/orgs","repos_url":"https://api.github.com/users/i80and/repos","events_url":"https://api.github.com/users/i80and/events{/privacy}","received_events_url":"https://api.github.com/users/i80and/received_events","type":"User","site_admin":false},"repo":{"id":39704299,"name":"mypy","full_name":"i80and/mypy","owner":{"login":"i80and","id":334192,"avatar_url":"https://avatars.githubusercontent.com/u/334192?v=3","gravatar_id":"","url":"https://api.github.com/users/i80and","html_url":"https://github.com/i80and","followers_url":"https://api.github.com/users/i80and/followers","following_url":"https://api.github.com/users/i80and/following{/other_user}","gists_url":"https://api.github.com/users/i80and/gists{/gist_id}","starred_url":"https://api.github.com/users/i80and/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i80and/subscriptions","organizations_url":"https://api.github.com/users/i80and/orgs","repos_url":"https://api.github.com/users/i80and/repos","events_url":"https://api.github.com/users/i80and/events{/privacy}","received_events_url":"https://api.github.com/users/i80and/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/i80and/mypy","description":"Optional static typing for Python","fork":true,"url":"https://api.github.com/repos/i80and/mypy","forks_url":"https://api.github.com/repos/i80and/mypy/forks","keys_url":"https://api.github.com/repos/i80and/mypy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/i80and/mypy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/i80and/mypy/teams","hooks_url":"https://api.github.com/repos/i80and/mypy/hooks","issue_events_url":"https://api.github.com/repos/i80and/mypy/issues/events{/number}","events_url":"https://api.github.com/repos/i80and/mypy/events","assignees_url":"https://api.github.com/repos/i80and/mypy/assignees{/user}","branches_url":"https://api.github.com/repos/i80and/mypy/branches{/branch}","tags_url":"https://api.github.com/repos/i80and/mypy/tags","blobs_url":"https://api.github.com/repos/i80and/mypy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/i80and/mypy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/i80and/mypy/git/refs{/sha}","trees_url":"https://api.github.com/repos/i80and/mypy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/i80and/mypy/statuses/{sha}","languages_url":"https://api.github.com/repos/i80and/mypy/languages","stargazers_url":"https://api.github.com/repos/i80and/mypy/stargazers","contributors_url":"https://api.github.com/repos/i80and/mypy/contributors","subscribers_url":"https://api.github.com/repos/i80and/mypy/subscribers","subscription_url":"https://api.github.com/repos/i80and/mypy/subscription","commits_url":"https://api.github.com/repos/i80and/mypy/commits{/sha}","git_commits_url":"https://api.github.com/repos/i80and/mypy/git/commits{/sha}","comments_url":"https://api.github.com/repos/i80and/mypy/comments{/number}","issue_comment_url":"https://api.github.com/repos/i80and/mypy/issues/comments{/number}","contents_url":"https://api.github.com/repos/i80and/mypy/contents/{+path}","compare_url":"https://api.github.com/repos/i80and/mypy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/i80and/mypy/merges","archive_url":"https://api.github.com/repos/i80and/mypy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/i80and/mypy/downloads","issues_url":"https://api.github.com/repos/i80and/mypy/issues{/number}","pulls_url":"https://api.github.com/repos/i80and/mypy/pulls{/number}","milestones_url":"https://api.github.com/repos/i80and/mypy/milestones{/number}","notifications_url":"https://api.github.com/repos/i80and/mypy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/i80and/mypy/labels{/name}","releases_url":"https://api.github.com/repos/i80and/mypy/releases{/id}","created_at":"2015-07-25T22:01:22Z","updated_at":"2015-07-25T22:01:24Z","pushed_at":"2015-07-26T02:45:47Z","git_url":"git://github.com/i80and/mypy.git","ssh_url":"git@github.com:i80and/mypy.git","clone_url":"https://github.com/i80and/mypy.git","svn_url":"https://github.com/i80and/mypy","homepage":"http://www.mypy-lang.org/","size":11481,"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":"JukkaL:master","ref":"master","sha":"1ba92f405d6a88316cd34705b581eeffdfa460e5","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},"repo":{"id":7053637,"name":"mypy","full_name":"JukkaL/mypy","owner":{"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},"private":false,"html_url":"https://github.com/JukkaL/mypy","description":"Optional static typing for Python","fork":false,"url":"https://api.github.com/repos/JukkaL/mypy","forks_url":"https://api.github.com/repos/JukkaL/mypy/forks","keys_url":"https://api.github.com/repos/JukkaL/mypy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JukkaL/mypy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JukkaL/mypy/teams","hooks_url":"https://api.github.com/repos/JukkaL/mypy/hooks","issue_events_url":"https://api.github.com/repos/JukkaL/mypy/issues/events{/number}","events_url":"https://api.github.com/repos/JukkaL/mypy/events","assignees_url":"https://api.github.com/repos/JukkaL/mypy/assignees{/user}","branches_url":"https://api.github.com/repos/JukkaL/mypy/branches{/branch}","tags_url":"https://api.github.com/repos/JukkaL/mypy/tags","blobs_url":"https://api.github.com/repos/JukkaL/mypy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JukkaL/mypy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JukkaL/mypy/git/refs{/sha}","trees_url":"https://api.github.com/repos/JukkaL/mypy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JukkaL/mypy/statuses/{sha}","languages_url":"https://api.github.com/repos/JukkaL/mypy/languages","stargazers_url":"https://api.github.com/repos/JukkaL/mypy/stargazers","contributors_url":"https://api.github.com/repos/JukkaL/mypy/contributors","subscribers_url":"https://api.github.com/repos/JukkaL/mypy/subscribers","subscription_url":"https://api.github.com/repos/JukkaL/mypy/subscription","commits_url":"https://api.github.com/repos/JukkaL/mypy/commits{/sha}","git_commits_url":"https://api.github.com/repos/JukkaL/mypy/git/commits{/sha}","comments_url":"https://api.github.com/repos/JukkaL/mypy/comments{/number}","issue_comment_url":"https://api.github.com/repos/JukkaL/mypy/issues/comments{/number}","contents_url":"https://api.github.com/repos/JukkaL/mypy/contents/{+path}","compare_url":"https://api.github.com/repos/JukkaL/mypy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JukkaL/mypy/merges","archive_url":"https://api.github.com/repos/JukkaL/mypy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JukkaL/mypy/downloads","issues_url":"https://api.github.com/repos/JukkaL/mypy/issues{/number}","pulls_url":"https://api.github.com/repos/JukkaL/mypy/pulls{/number}","milestones_url":"https://api.github.com/repos/JukkaL/mypy/milestones{/number}","notifications_url":"https://api.github.com/repos/JukkaL/mypy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JukkaL/mypy/labels{/name}","releases_url":"https://api.github.com/repos/JukkaL/mypy/releases{/id}","created_at":"2012-12-07T13:30:23Z","updated_at":"2015-07-25T06:50:48Z","pushed_at":"2015-07-25T23:05:30Z","git_url":"git://github.com/JukkaL/mypy.git","ssh_url":"git@github.com:JukkaL/mypy.git","clone_url":"https://github.com/JukkaL/mypy.git","svn_url":"https://github.com/JukkaL/mypy","homepage":"http://www.mypy-lang.org/","size":11481,"stargazers_count":683,"watchers_count":683,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":77,"mirror_url":null,"open_issues_count":221,"forks":77,"open_issues":221,"watchers":683,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JukkaL/mypy/pulls/728"},"html":{"href":"https://github.com/JukkaL/mypy/pull/728"},"issue":{"href":"https://api.github.com/repos/JukkaL/mypy/issues/728"},"comments":{"href":"https://api.github.com/repos/JukkaL/mypy/issues/728/comments"},"review_comments":{"href":"https://api.github.com/repos/JukkaL/mypy/pulls/728/comments"},"review_comment":{"href":"https://api.github.com/repos/JukkaL/mypy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JukkaL/mypy/pulls/728/commits"},"statuses":{"href":"https://api.github.com/repos/JukkaL/mypy/statuses/9444acffe9069569846f0adef73df62fd381835d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":0,"changed_files":2}}