{"action":"created","comment":{"url":"https://api.github.com/repos/numba/numba/pulls/comments/191813981","pull_request_review_id":124461456,"id":191813981,"diff_hunk":"@@ -241,6 +241,35 @@ def termcolor():\n https://github.com/numba/numba/issues/new\n \"\"\"\n \n+interpreter_error_info = \"\"\"\n+Unsupported Python functionality was found in the code Numba was trying to\n+compile. This error could be due to invalid code, does the code work\n+without Numba? (A quick way to check is to temporarily disable Numba JIT by\n+setting the `NUMBA_DISABLE_JIT` environment variable to non-zero and then\n+rerunning the code).\n+\n+If the code is valid and the unsupported functionality is important to you\n+please file a feature request at: https://github.com/numba/numba/issues/new\n+\n+To see Python/NumPy features supported by the latest release of Numba visit:\n+http://numba.pydata.org/numba-doc/dev/reference/pysupported.html\n+and\n+http://numba.pydata.org/numba-doc/dev/reference/numpysupported.html\n+\"\"\"\n+\n+constant_inference_info = \"\"\"\n+Numba could not make a constant out of something that it decided should be\n+a constant. This could well be a current limitation in Numba's internals,\n+please either raise a bug report along with a minimal reproducer at:\n+https://github.com/numba/numba/issues/new\n+\n+(if you need help writing a minimal reproducer please see)\n+http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports","path":"numba/errors.py","position":27,"original_position":27,"commit_id":"a5b675e3e921db9c190c0400b45c2b7d17685586","original_commit_id":"a5b675e3e921db9c190c0400b45c2b7d17685586","user":{"login":"seibert","id":425352,"avatar_url":"https://avatars1.githubusercontent.com/u/425352?v=4","gravatar_id":"","url":"https://api.github.com/users/seibert","html_url":"https://github.com/seibert","followers_url":"https://api.github.com/users/seibert/followers","following_url":"https://api.github.com/users/seibert/following{/other_user}","gists_url":"https://api.github.com/users/seibert/gists{/gist_id}","starred_url":"https://api.github.com/users/seibert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seibert/subscriptions","organizations_url":"https://api.github.com/users/seibert/orgs","repos_url":"https://api.github.com/users/seibert/repos","events_url":"https://api.github.com/users/seibert/events{/privacy}","received_events_url":"https://api.github.com/users/seibert/received_events","type":"User","site_admin":false},"body":"The note about minimal reproducers is redundant to instructions in the issue tracker, so I think we can drop these 2 lines from the error message.","created_at":"2018-05-30T15:28:39Z","updated_at":"2018-05-30T15:28:40Z","html_url":"https://github.com/numba/numba/pull/3002#discussion_r191813981","pull_request_url":"https://api.github.com/repos/numba/numba/pulls/3002","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/numba/numba/pulls/comments/191813981"},"html":{"href":"https://github.com/numba/numba/pull/3002#discussion_r191813981"},"pull_request":{"href":"https://api.github.com/repos/numba/numba/pulls/3002"}}},"pull_request":{"url":"https://api.github.com/repos/numba/numba/pulls/3002","id":191437668,"html_url":"https://github.com/numba/numba/pull/3002","diff_url":"https://github.com/numba/numba/pull/3002.diff","patch_url":"https://github.com/numba/numba/pull/3002.patch","issue_url":"https://api.github.com/repos/numba/numba/issues/3002","number":3002,"state":"open","locked":false,"title":"Second pass at error rewrites (interpreter errors).","user":{"login":"stuartarchibald","id":907717,"avatar_url":"https://avatars3.githubusercontent.com/u/907717?v=4","gravatar_id":"","url":"https://api.github.com/users/stuartarchibald","html_url":"https://github.com/stuartarchibald","followers_url":"https://api.github.com/users/stuartarchibald/followers","following_url":"https://api.github.com/users/stuartarchibald/following{/other_user}","gists_url":"https://api.github.com/users/stuartarchibald/gists{/gist_id}","starred_url":"https://api.github.com/users/stuartarchibald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuartarchibald/subscriptions","organizations_url":"https://api.github.com/users/stuartarchibald/orgs","repos_url":"https://api.github.com/users/stuartarchibald/repos","events_url":"https://api.github.com/users/stuartarchibald/events{/privacy}","received_events_url":"https://api.github.com/users/stuartarchibald/received_events","type":"User","site_admin":false},"body":"This is a second pass at improving error handling, the first pass\r\nfocussed on Typing and related errors, this pass focusses on\r\nerrors arising during bytecode interpretation and analysis.\r\n\r\nFixes #3001.\r\n","created_at":"2018-05-30T12:36:14Z","updated_at":"2018-05-30T15:28:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c94bd7a67de9357b08715a8341bdeb0322e5a141","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":91137611,"url":"https://api.github.com/repos/numba/numba/labels/3%20-%20Ready%20for%20Review","name":"3 - Ready for Review","color":"bfe5bf","default":false}],"milestone":{"url":"https://api.github.com/repos/numba/numba/milestones/19","html_url":"https://github.com/numba/numba/milestone/19","labels_url":"https://api.github.com/repos/numba/numba/milestones/19/labels","id":3252003,"number":19,"title":"Numba 0.39 RC","description":"","creator":{"login":"stuartarchibald","id":907717,"avatar_url":"https://avatars3.githubusercontent.com/u/907717?v=4","gravatar_id":"","url":"https://api.github.com/users/stuartarchibald","html_url":"https://github.com/stuartarchibald","followers_url":"https://api.github.com/users/stuartarchibald/followers","following_url":"https://api.github.com/users/stuartarchibald/following{/other_user}","gists_url":"https://api.github.com/users/stuartarchibald/gists{/gist_id}","starred_url":"https://api.github.com/users/stuartarchibald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuartarchibald/subscriptions","organizations_url":"https://api.github.com/users/stuartarchibald/orgs","repos_url":"https://api.github.com/users/stuartarchibald/repos","events_url":"https://api.github.com/users/stuartarchibald/events{/privacy}","received_events_url":"https://api.github.com/users/stuartarchibald/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":13,"state":"open","created_at":"2018-04-09T10:10:01Z","updated_at":"2018-05-30T12:52:47Z","due_on":"2018-06-18T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/numba/numba/pulls/3002/commits","review_comments_url":"https://api.github.com/repos/numba/numba/pulls/3002/comments","review_comment_url":"https://api.github.com/repos/numba/numba/pulls/comments{/number}","comments_url":"https://api.github.com/repos/numba/numba/issues/3002/comments","statuses_url":"https://api.github.com/repos/numba/numba/statuses/a5b675e3e921db9c190c0400b45c2b7d17685586","head":{"label":"stuartarchibald:fix/3001","ref":"fix/3001","sha":"a5b675e3e921db9c190c0400b45c2b7d17685586","user":{"login":"stuartarchibald","id":907717,"avatar_url":"https://avatars3.githubusercontent.com/u/907717?v=4","gravatar_id":"","url":"https://api.github.com/users/stuartarchibald","html_url":"https://github.com/stuartarchibald","followers_url":"https://api.github.com/users/stuartarchibald/followers","following_url":"https://api.github.com/users/stuartarchibald/following{/other_user}","gists_url":"https://api.github.com/users/stuartarchibald/gists{/gist_id}","starred_url":"https://api.github.com/users/stuartarchibald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuartarchibald/subscriptions","organizations_url":"https://api.github.com/users/stuartarchibald/orgs","repos_url":"https://api.github.com/users/stuartarchibald/repos","events_url":"https://api.github.com/users/stuartarchibald/events{/privacy}","received_events_url":"https://api.github.com/users/stuartarchibald/received_events","type":"User","site_admin":false},"repo":{"id":44982242,"name":"numba","full_name":"stuartarchibald/numba","owner":{"login":"stuartarchibald","id":907717,"avatar_url":"https://avatars3.githubusercontent.com/u/907717?v=4","gravatar_id":"","url":"https://api.github.com/users/stuartarchibald","html_url":"https://github.com/stuartarchibald","followers_url":"https://api.github.com/users/stuartarchibald/followers","following_url":"https://api.github.com/users/stuartarchibald/following{/other_user}","gists_url":"https://api.github.com/users/stuartarchibald/gists{/gist_id}","starred_url":"https://api.github.com/users/stuartarchibald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuartarchibald/subscriptions","organizations_url":"https://api.github.com/users/stuartarchibald/orgs","repos_url":"https://api.github.com/users/stuartarchibald/repos","events_url":"https://api.github.com/users/stuartarchibald/events{/privacy}","received_events_url":"https://api.github.com/users/stuartarchibald/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stuartarchibald/numba","description":"NumPy aware dynamic Python compiler using LLVM","fork":true,"url":"https://api.github.com/repos/stuartarchibald/numba","forks_url":"https://api.github.com/repos/stuartarchibald/numba/forks","keys_url":"https://api.github.com/repos/stuartarchibald/numba/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stuartarchibald/numba/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stuartarchibald/numba/teams","hooks_url":"https://api.github.com/repos/stuartarchibald/numba/hooks","issue_events_url":"https://api.github.com/repos/stuartarchibald/numba/issues/events{/number}","events_url":"https://api.github.com/repos/stuartarchibald/numba/events","assignees_url":"https://api.github.com/repos/stuartarchibald/numba/assignees{/user}","branches_url":"https://api.github.com/repos/stuartarchibald/numba/branches{/branch}","tags_url":"https://api.github.com/repos/stuartarchibald/numba/tags","blobs_url":"https://api.github.com/repos/stuartarchibald/numba/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stuartarchibald/numba/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stuartarchibald/numba/git/refs{/sha}","trees_url":"https://api.github.com/repos/stuartarchibald/numba/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stuartarchibald/numba/statuses/{sha}","languages_url":"https://api.github.com/repos/stuartarchibald/numba/languages","stargazers_url":"https://api.github.com/repos/stuartarchibald/numba/stargazers","contributors_url":"https://api.github.com/repos/stuartarchibald/numba/contributors","subscribers_url":"https://api.github.com/repos/stuartarchibald/numba/subscribers","subscription_url":"https://api.github.com/repos/stuartarchibald/numba/subscription","commits_url":"https://api.github.com/repos/stuartarchibald/numba/commits{/sha}","git_commits_url":"https://api.github.com/repos/stuartarchibald/numba/git/commits{/sha}","comments_url":"https://api.github.com/repos/stuartarchibald/numba/comments{/number}","issue_comment_url":"https://api.github.com/repos/stuartarchibald/numba/issues/comments{/number}","contents_url":"https://api.github.com/repos/stuartarchibald/numba/contents/{+path}","compare_url":"https://api.github.com/repos/stuartarchibald/numba/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stuartarchibald/numba/merges","archive_url":"https://api.github.com/repos/stuartarchibald/numba/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stuartarchibald/numba/downloads","issues_url":"https://api.github.com/repos/stuartarchibald/numba/issues{/number}","pulls_url":"https://api.github.com/repos/stuartarchibald/numba/pulls{/number}","milestones_url":"https://api.github.com/repos/stuartarchibald/numba/milestones{/number}","notifications_url":"https://api.github.com/repos/stuartarchibald/numba/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stuartarchibald/numba/labels{/name}","releases_url":"https://api.github.com/repos/stuartarchibald/numba/releases{/id}","deployments_url":"https://api.github.com/repos/stuartarchibald/numba/deployments","created_at":"2015-10-26T16:36:31Z","updated_at":"2018-05-30T12:54:44Z","pushed_at":"2018-05-30T12:54:41Z","git_url":"git://github.com/stuartarchibald/numba.git","ssh_url":"git@github.com:stuartarchibald/numba.git","clone_url":"https://github.com/stuartarchibald/numba.git","svn_url":"https://github.com/stuartarchibald/numba","homepage":"http://numba.pydata.org/","size":46224,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"numba:master","ref":"master","sha":"f5e050960e458b3bdbfe93d15aa47e6499de9919","user":{"login":"numba","id":1628082,"avatar_url":"https://avatars2.githubusercontent.com/u/1628082?v=4","gravatar_id":"","url":"https://api.github.com/users/numba","html_url":"https://github.com/numba","followers_url":"https://api.github.com/users/numba/followers","following_url":"https://api.github.com/users/numba/following{/other_user}","gists_url":"https://api.github.com/users/numba/gists{/gist_id}","starred_url":"https://api.github.com/users/numba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numba/subscriptions","organizations_url":"https://api.github.com/users/numba/orgs","repos_url":"https://api.github.com/users/numba/repos","events_url":"https://api.github.com/users/numba/events{/privacy}","received_events_url":"https://api.github.com/users/numba/received_events","type":"Organization","site_admin":false},"repo":{"id":3659275,"name":"numba","full_name":"numba/numba","owner":{"login":"numba","id":1628082,"avatar_url":"https://avatars2.githubusercontent.com/u/1628082?v=4","gravatar_id":"","url":"https://api.github.com/users/numba","html_url":"https://github.com/numba","followers_url":"https://api.github.com/users/numba/followers","following_url":"https://api.github.com/users/numba/following{/other_user}","gists_url":"https://api.github.com/users/numba/gists{/gist_id}","starred_url":"https://api.github.com/users/numba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numba/subscriptions","organizations_url":"https://api.github.com/users/numba/orgs","repos_url":"https://api.github.com/users/numba/repos","events_url":"https://api.github.com/users/numba/events{/privacy}","received_events_url":"https://api.github.com/users/numba/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/numba/numba","description":"NumPy aware dynamic Python compiler using LLVM","fork":false,"url":"https://api.github.com/repos/numba/numba","forks_url":"https://api.github.com/repos/numba/numba/forks","keys_url":"https://api.github.com/repos/numba/numba/keys{/key_id}","collaborators_url":"https://api.github.com/repos/numba/numba/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/numba/numba/teams","hooks_url":"https://api.github.com/repos/numba/numba/hooks","issue_events_url":"https://api.github.com/repos/numba/numba/issues/events{/number}","events_url":"https://api.github.com/repos/numba/numba/events","assignees_url":"https://api.github.com/repos/numba/numba/assignees{/user}","branches_url":"https://api.github.com/repos/numba/numba/branches{/branch}","tags_url":"https://api.github.com/repos/numba/numba/tags","blobs_url":"https://api.github.com/repos/numba/numba/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/numba/numba/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/numba/numba/git/refs{/sha}","trees_url":"https://api.github.com/repos/numba/numba/git/trees{/sha}","statuses_url":"https://api.github.com/repos/numba/numba/statuses/{sha}","languages_url":"https://api.github.com/repos/numba/numba/languages","stargazers_url":"https://api.github.com/repos/numba/numba/stargazers","contributors_url":"https://api.github.com/repos/numba/numba/contributors","subscribers_url":"https://api.github.com/repos/numba/numba/subscribers","subscription_url":"https://api.github.com/repos/numba/numba/subscription","commits_url":"https://api.github.com/repos/numba/numba/commits{/sha}","git_commits_url":"https://api.github.com/repos/numba/numba/git/commits{/sha}","comments_url":"https://api.github.com/repos/numba/numba/comments{/number}","issue_comment_url":"https://api.github.com/repos/numba/numba/issues/comments{/number}","contents_url":"https://api.github.com/repos/numba/numba/contents/{+path}","compare_url":"https://api.github.com/repos/numba/numba/compare/{base}...{head}","merges_url":"https://api.github.com/repos/numba/numba/merges","archive_url":"https://api.github.com/repos/numba/numba/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/numba/numba/downloads","issues_url":"https://api.github.com/repos/numba/numba/issues{/number}","pulls_url":"https://api.github.com/repos/numba/numba/pulls{/number}","milestones_url":"https://api.github.com/repos/numba/numba/milestones{/number}","notifications_url":"https://api.github.com/repos/numba/numba/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/numba/numba/labels{/name}","releases_url":"https://api.github.com/repos/numba/numba/releases{/id}","deployments_url":"https://api.github.com/repos/numba/numba/deployments","created_at":"2012-03-08T11:12:43Z","updated_at":"2018-05-30T03:24:45Z","pushed_at":"2018-05-30T15:19:39Z","git_url":"git://github.com/numba/numba.git","ssh_url":"git@github.com:numba/numba.git","clone_url":"https://github.com/numba/numba.git","svn_url":"https://github.com/numba/numba","homepage":"http://numba.pydata.org/","size":46116,"stargazers_count":3157,"watchers_count":3157,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":342,"mirror_url":null,"archived":false,"open_issues_count":452,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause"},"forks":342,"open_issues":452,"watchers":3157,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/numba/numba/pulls/3002"},"html":{"href":"https://github.com/numba/numba/pull/3002"},"issue":{"href":"https://api.github.com/repos/numba/numba/issues/3002"},"comments":{"href":"https://api.github.com/repos/numba/numba/issues/3002/comments"},"review_comments":{"href":"https://api.github.com/repos/numba/numba/pulls/3002/comments"},"review_comment":{"href":"https://api.github.com/repos/numba/numba/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/numba/numba/pulls/3002/commits"},"statuses":{"href":"https://api.github.com/repos/numba/numba/statuses/a5b675e3e921db9c190c0400b45c2b7d17685586"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"seibert"}}