{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/dxr/pulls/comments/33626108","id":33626108,"diff_hunk":"@@ -1,28 +1,23 @@\n-from operator import itemgetter\n-from itertools import chain, izip\n-from functools import partial\n-\n-from funcy import imap, is_mapping, repeat, icat\n+from itertools import chain\n \n from dxr.indexers import (iterable_per_line, with_start_and_end,\n-                          split_into_lines, Extent, Position)\n+                          split_into_lines)\n \n \n+# TODO: Use.","path":"dxr/plugins/clang/needles.py","position":13,"original_position":13,"commit_id":"a1cd5198a1532deeb85d455cdc2f98a08660e044","original_commit_id":"a1cd5198a1532deeb85d455cdc2f98a08660e044","user":{"login":"pelmers","id":2406051,"avatar_url":"https://avatars.githubusercontent.com/u/2406051?v=3","gravatar_id":"","url":"https://api.github.com/users/pelmers","html_url":"https://github.com/pelmers","followers_url":"https://api.github.com/users/pelmers/followers","following_url":"https://api.github.com/users/pelmers/following{/other_user}","gists_url":"https://api.github.com/users/pelmers/gists{/gist_id}","starred_url":"https://api.github.com/users/pelmers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelmers/subscriptions","organizations_url":"https://api.github.com/users/pelmers/orgs","repos_url":"https://api.github.com/users/pelmers/repos","events_url":"https://api.github.com/users/pelmers/events{/privacy}","received_events_url":"https://api.github.com/users/pelmers/received_events","type":"User","site_admin":false},"body":"It looks like this is only used from the test cases. Should we move the function there?","created_at":"2015-06-30T21:30:37Z","updated_at":"2015-06-30T21:30:37Z","html_url":"https://github.com/mozilla/dxr/pull/445#discussion_r33626108","pull_request_url":"https://api.github.com/repos/mozilla/dxr/pulls/445","_links":{"self":{"href":"https://api.github.com/repos/mozilla/dxr/pulls/comments/33626108"},"html":{"href":"https://github.com/mozilla/dxr/pull/445#discussion_r33626108"},"pull_request":{"href":"https://api.github.com/repos/mozilla/dxr/pulls/445"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/dxr/pulls/445","id":38923382,"html_url":"https://github.com/mozilla/dxr/pull/445","diff_url":"https://github.com/mozilla/dxr/pull/445.diff","patch_url":"https://github.com/mozilla/dxr/pull/445.patch","issue_url":"https://api.github.com/repos/mozilla/dxr/issues/445","number":445,"state":"open","locked":false,"title":"Let searches for qualified but argless functions work","user":{"login":"erikrose","id":295816,"avatar_url":"https://avatars.githubusercontent.com/u/295816?v=3","gravatar_id":"","url":"https://api.github.com/users/erikrose","html_url":"https://github.com/erikrose","followers_url":"https://api.github.com/users/erikrose/followers","following_url":"https://api.github.com/users/erikrose/following{/other_user}","gists_url":"https://api.github.com/users/erikrose/gists{/gist_id}","starred_url":"https://api.github.com/users/erikrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikrose/subscriptions","organizations_url":"https://api.github.com/users/erikrose/orgs","repos_url":"https://api.github.com/users/erikrose/repos","events_url":"https://api.github.com/users/erikrose/events{/privacy}","received_events_url":"https://api.github.com/users/erikrose/received_events","type":"User","site_admin":false},"body":"Now we can search for Scoped::function rather than needing to say Scoped::function(int, char). Fix https://bugzilla.mozilla.org/show_bug.cgi?id=1171242","created_at":"2015-06-30T20:56:49Z","updated_at":"2015-06-30T21:30:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff8c3e96db4f0e8d315b196af1e40bc2eee04a89","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/dxr/pulls/445/commits","review_comments_url":"https://api.github.com/repos/mozilla/dxr/pulls/445/comments","review_comment_url":"https://api.github.com/repos/mozilla/dxr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/dxr/issues/445/comments","statuses_url":"https://api.github.com/repos/mozilla/dxr/statuses/a1cd5198a1532deeb85d455cdc2f98a08660e044","head":{"label":"erikrose:untyped-functions","ref":"untyped-functions","sha":"a1cd5198a1532deeb85d455cdc2f98a08660e044","user":{"login":"erikrose","id":295816,"avatar_url":"https://avatars.githubusercontent.com/u/295816?v=3","gravatar_id":"","url":"https://api.github.com/users/erikrose","html_url":"https://github.com/erikrose","followers_url":"https://api.github.com/users/erikrose/followers","following_url":"https://api.github.com/users/erikrose/following{/other_user}","gists_url":"https://api.github.com/users/erikrose/gists{/gist_id}","starred_url":"https://api.github.com/users/erikrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikrose/subscriptions","organizations_url":"https://api.github.com/users/erikrose/orgs","repos_url":"https://api.github.com/users/erikrose/repos","events_url":"https://api.github.com/users/erikrose/events{/privacy}","received_events_url":"https://api.github.com/users/erikrose/received_events","type":"User","site_admin":false},"repo":{"id":7027596,"name":"dxr","full_name":"erikrose/dxr","owner":{"login":"erikrose","id":295816,"avatar_url":"https://avatars.githubusercontent.com/u/295816?v=3","gravatar_id":"","url":"https://api.github.com/users/erikrose","html_url":"https://github.com/erikrose","followers_url":"https://api.github.com/users/erikrose/followers","following_url":"https://api.github.com/users/erikrose/following{/other_user}","gists_url":"https://api.github.com/users/erikrose/gists{/gist_id}","starred_url":"https://api.github.com/users/erikrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikrose/subscriptions","organizations_url":"https://api.github.com/users/erikrose/orgs","repos_url":"https://api.github.com/users/erikrose/repos","events_url":"https://api.github.com/users/erikrose/events{/privacy}","received_events_url":"https://api.github.com/users/erikrose/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erikrose/dxr","description":"An intelligent source code browser","fork":true,"url":"https://api.github.com/repos/erikrose/dxr","forks_url":"https://api.github.com/repos/erikrose/dxr/forks","keys_url":"https://api.github.com/repos/erikrose/dxr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erikrose/dxr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erikrose/dxr/teams","hooks_url":"https://api.github.com/repos/erikrose/dxr/hooks","issue_events_url":"https://api.github.com/repos/erikrose/dxr/issues/events{/number}","events_url":"https://api.github.com/repos/erikrose/dxr/events","assignees_url":"https://api.github.com/repos/erikrose/dxr/assignees{/user}","branches_url":"https://api.github.com/repos/erikrose/dxr/branches{/branch}","tags_url":"https://api.github.com/repos/erikrose/dxr/tags","blobs_url":"https://api.github.com/repos/erikrose/dxr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erikrose/dxr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erikrose/dxr/git/refs{/sha}","trees_url":"https://api.github.com/repos/erikrose/dxr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erikrose/dxr/statuses/{sha}","languages_url":"https://api.github.com/repos/erikrose/dxr/languages","stargazers_url":"https://api.github.com/repos/erikrose/dxr/stargazers","contributors_url":"https://api.github.com/repos/erikrose/dxr/contributors","subscribers_url":"https://api.github.com/repos/erikrose/dxr/subscribers","subscription_url":"https://api.github.com/repos/erikrose/dxr/subscription","commits_url":"https://api.github.com/repos/erikrose/dxr/commits{/sha}","git_commits_url":"https://api.github.com/repos/erikrose/dxr/git/commits{/sha}","comments_url":"https://api.github.com/repos/erikrose/dxr/comments{/number}","issue_comment_url":"https://api.github.com/repos/erikrose/dxr/issues/comments{/number}","contents_url":"https://api.github.com/repos/erikrose/dxr/contents/{+path}","compare_url":"https://api.github.com/repos/erikrose/dxr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erikrose/dxr/merges","archive_url":"https://api.github.com/repos/erikrose/dxr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erikrose/dxr/downloads","issues_url":"https://api.github.com/repos/erikrose/dxr/issues{/number}","pulls_url":"https://api.github.com/repos/erikrose/dxr/pulls{/number}","milestones_url":"https://api.github.com/repos/erikrose/dxr/milestones{/number}","notifications_url":"https://api.github.com/repos/erikrose/dxr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erikrose/dxr/labels{/name}","releases_url":"https://api.github.com/repos/erikrose/dxr/releases{/id}","created_at":"2012-12-06T01:04:31Z","updated_at":"2015-02-21T19:10:21Z","pushed_at":"2015-06-30T20:55:26Z","git_url":"git://github.com/erikrose/dxr.git","ssh_url":"git@github.com:erikrose/dxr.git","clone_url":"https://github.com/erikrose/dxr.git","svn_url":"https://github.com/erikrose/dxr","homepage":"","size":11025,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mozilla:es","ref":"es","sha":"2aee48c5ad891ec65ba7f14929101a1cfce13a2f","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1795049,"name":"dxr","full_name":"mozilla/dxr","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/dxr","description":"An intelligent source code browser","fork":false,"url":"https://api.github.com/repos/mozilla/dxr","forks_url":"https://api.github.com/repos/mozilla/dxr/forks","keys_url":"https://api.github.com/repos/mozilla/dxr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/dxr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/dxr/teams","hooks_url":"https://api.github.com/repos/mozilla/dxr/hooks","issue_events_url":"https://api.github.com/repos/mozilla/dxr/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/dxr/events","assignees_url":"https://api.github.com/repos/mozilla/dxr/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/dxr/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/dxr/tags","blobs_url":"https://api.github.com/repos/mozilla/dxr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/dxr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/dxr/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/dxr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/dxr/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/dxr/languages","stargazers_url":"https://api.github.com/repos/mozilla/dxr/stargazers","contributors_url":"https://api.github.com/repos/mozilla/dxr/contributors","subscribers_url":"https://api.github.com/repos/mozilla/dxr/subscribers","subscription_url":"https://api.github.com/repos/mozilla/dxr/subscription","commits_url":"https://api.github.com/repos/mozilla/dxr/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/dxr/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/dxr/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/dxr/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/dxr/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/dxr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/dxr/merges","archive_url":"https://api.github.com/repos/mozilla/dxr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/dxr/downloads","issues_url":"https://api.github.com/repos/mozilla/dxr/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/dxr/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/dxr/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/dxr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/dxr/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/dxr/releases{/id}","created_at":"2011-05-24T18:52:38Z","updated_at":"2015-06-30T04:06:39Z","pushed_at":"2015-06-30T20:56:49Z","git_url":"git://github.com/mozilla/dxr.git","ssh_url":"git@github.com:mozilla/dxr.git","clone_url":"https://github.com/mozilla/dxr.git","svn_url":"https://github.com/mozilla/dxr","homepage":"https://dxr.readthedocs.org/","size":14602,"stargazers_count":312,"watchers_count":312,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":128,"mirror_url":null,"open_issues_count":33,"forks":128,"open_issues":33,"watchers":312,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/dxr/pulls/445"},"html":{"href":"https://github.com/mozilla/dxr/pull/445"},"issue":{"href":"https://api.github.com/repos/mozilla/dxr/issues/445"},"comments":{"href":"https://api.github.com/repos/mozilla/dxr/issues/445/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/dxr/pulls/445/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/dxr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/dxr/pulls/445/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/dxr/statuses/a1cd5198a1532deeb85d455cdc2f98a08660e044"}}}}