{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/2569","labels_url":"https://api.github.com/repos/pypa/pip/issues/2569/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/2569/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/2569/events","html_url":"https://github.com/pypa/pip/pull/2569","id":62812839,"number":2569,"title":"Call get_platform once and pass it around","user":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-18T21:58:29Z","updated_at":"2015-03-19T16:01:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pypa/pip/pulls/2569","html_url":"https://github.com/pypa/pip/pull/2569","diff_url":"https://github.com/pypa/pip/pull/2569.diff","patch_url":"https://github.com/pypa/pip/pull/2569.patch"},"body":"instead of calling it for each link traversed.\r\n\r\nProbably a micro-optimization that doesn't make much difference in practice (unless you have 10,000 links or something), but maybe worth it just so that a future person doesn't see it and wonder if it's a bottleneck."},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/83643601","html_url":"https://github.com/pypa/pip/pull/2569#issuecomment-83643601","issue_url":"https://api.github.com/repos/pypa/pip/issues/2569","id":83643601,"user":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T16:01:30Z","updated_at":"2015-03-19T16:01:30Z","body":"Please restart https://travis-ci.org/pypa/pip/jobs/54952626"}}