{"action":"created","comment":{"url":"https://api.github.com/repos/conda/conda/pulls/comments/75980914","id":75980914,"diff_hunk":"@@ -385,7 +385,7 @@ def dist2pair(dist):\n def dist2quad(dist):\n     channel, dist = dist2pair(dist)\n     parts = dist.rsplit('-', 2) + ['', '']\n-    return (parts[0], parts[1], parts[2], channel)\n+    return (str(parts[0]), str(parts[1]), str(parts[2]), str(channel))\n ","path":"conda/install.py","position":6,"original_position":6,"commit_id":"6019e97b3a87d78d8e21628b1c1a24980143d41d","original_commit_id":"6019e97b3a87d78d8e21628b1c1a24980143d41d","user":{"login":"mingwandroid","id":1042804,"avatar_url":"https://avatars.githubusercontent.com/u/1042804?v=3","gravatar_id":"","url":"https://api.github.com/users/mingwandroid","html_url":"https://github.com/mingwandroid","followers_url":"https://api.github.com/users/mingwandroid/followers","following_url":"https://api.github.com/users/mingwandroid/following{/other_user}","gists_url":"https://api.github.com/users/mingwandroid/gists{/gist_id}","starred_url":"https://api.github.com/users/mingwandroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingwandroid/subscriptions","organizations_url":"https://api.github.com/users/mingwandroid/orgs","repos_url":"https://api.github.com/users/mingwandroid/repos","events_url":"https://api.github.com/users/mingwandroid/events{/privacy}","received_events_url":"https://api.github.com/users/mingwandroid/received_events","type":"User","site_admin":false},"body":"Arguably I should leave this as is and change it only in the call-site that then presents the values to `env`.","created_at":"2016-08-24T01:16:45Z","updated_at":"2016-08-24T01:16:45Z","html_url":"https://github.com/conda/conda/pull/3340#discussion_r75980914","pull_request_url":"https://api.github.com/repos/conda/conda/pulls/3340","_links":{"self":{"href":"https://api.github.com/repos/conda/conda/pulls/comments/75980914"},"html":{"href":"https://github.com/conda/conda/pull/3340#discussion_r75980914"},"pull_request":{"href":"https://api.github.com/repos/conda/conda/pulls/3340"}}},"pull_request":{"url":"https://api.github.com/repos/conda/conda/pulls/3340","id":82467115,"html_url":"https://github.com/conda/conda/pull/3340","diff_url":"https://github.com/conda/conda/pull/3340.diff","patch_url":"https://github.com/conda/conda/pull/3340.patch","issue_url":"https://api.github.com/repos/conda/conda/issues/3340","number":3340,"state":"open","locked":false,"title":"Account for the Windows Python 2.7 os.environ unicode aversion","user":{"login":"mingwandroid","id":1042804,"avatar_url":"https://avatars.githubusercontent.com/u/1042804?v=3","gravatar_id":"","url":"https://api.github.com/users/mingwandroid","html_url":"https://github.com/mingwandroid","followers_url":"https://api.github.com/users/mingwandroid/followers","following_url":"https://api.github.com/users/mingwandroid/following{/other_user}","gists_url":"https://api.github.com/users/mingwandroid/gists{/gist_id}","starred_url":"https://api.github.com/users/mingwandroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingwandroid/subscriptions","organizations_url":"https://api.github.com/users/mingwandroid/orgs","repos_url":"https://api.github.com/users/mingwandroid/repos","events_url":"https://api.github.com/users/mingwandroid/events{/privacy}","received_events_url":"https://api.github.com/users/mingwandroid/received_events","type":"User","site_admin":false},"body":"Since unicode_literals are used a fair bit, this replaces them at the point of setting them in an env with str-ified versions.\r\n\r\n@kalefranz, If you want me to go the way we discussed yesterday then no problem, but I got nervous with how much code I was changing. Presumably you've got a preference for unicode literals too?","created_at":"2016-08-24T01:15:37Z","updated_at":"2016-08-24T01:16:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"370b5d75d0f84297ba481e37001a87b32c661ee0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/conda/conda/pulls/3340/commits","review_comments_url":"https://api.github.com/repos/conda/conda/pulls/3340/comments","review_comment_url":"https://api.github.com/repos/conda/conda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conda/conda/issues/3340/comments","statuses_url":"https://api.github.com/repos/conda/conda/statuses/6019e97b3a87d78d8e21628b1c1a24980143d41d","head":{"label":"mingwandroid:master","ref":"master","sha":"6019e97b3a87d78d8e21628b1c1a24980143d41d","user":{"login":"mingwandroid","id":1042804,"avatar_url":"https://avatars.githubusercontent.com/u/1042804?v=3","gravatar_id":"","url":"https://api.github.com/users/mingwandroid","html_url":"https://github.com/mingwandroid","followers_url":"https://api.github.com/users/mingwandroid/followers","following_url":"https://api.github.com/users/mingwandroid/following{/other_user}","gists_url":"https://api.github.com/users/mingwandroid/gists{/gist_id}","starred_url":"https://api.github.com/users/mingwandroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingwandroid/subscriptions","organizations_url":"https://api.github.com/users/mingwandroid/orgs","repos_url":"https://api.github.com/users/mingwandroid/repos","events_url":"https://api.github.com/users/mingwandroid/events{/privacy}","received_events_url":"https://api.github.com/users/mingwandroid/received_events","type":"User","site_admin":false},"repo":{"id":56501936,"name":"conda","full_name":"mingwandroid/conda","owner":{"login":"mingwandroid","id":1042804,"avatar_url":"https://avatars.githubusercontent.com/u/1042804?v=3","gravatar_id":"","url":"https://api.github.com/users/mingwandroid","html_url":"https://github.com/mingwandroid","followers_url":"https://api.github.com/users/mingwandroid/followers","following_url":"https://api.github.com/users/mingwandroid/following{/other_user}","gists_url":"https://api.github.com/users/mingwandroid/gists{/gist_id}","starred_url":"https://api.github.com/users/mingwandroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingwandroid/subscriptions","organizations_url":"https://api.github.com/users/mingwandroid/orgs","repos_url":"https://api.github.com/users/mingwandroid/repos","events_url":"https://api.github.com/users/mingwandroid/events{/privacy}","received_events_url":"https://api.github.com/users/mingwandroid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mingwandroid/conda","description":"OS-agnostic, system-level binary package manager and ecosystem","fork":true,"url":"https://api.github.com/repos/mingwandroid/conda","forks_url":"https://api.github.com/repos/mingwandroid/conda/forks","keys_url":"https://api.github.com/repos/mingwandroid/conda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mingwandroid/conda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mingwandroid/conda/teams","hooks_url":"https://api.github.com/repos/mingwandroid/conda/hooks","issue_events_url":"https://api.github.com/repos/mingwandroid/conda/issues/events{/number}","events_url":"https://api.github.com/repos/mingwandroid/conda/events","assignees_url":"https://api.github.com/repos/mingwandroid/conda/assignees{/user}","branches_url":"https://api.github.com/repos/mingwandroid/conda/branches{/branch}","tags_url":"https://api.github.com/repos/mingwandroid/conda/tags","blobs_url":"https://api.github.com/repos/mingwandroid/conda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mingwandroid/conda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mingwandroid/conda/git/refs{/sha}","trees_url":"https://api.github.com/repos/mingwandroid/conda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mingwandroid/conda/statuses/{sha}","languages_url":"https://api.github.com/repos/mingwandroid/conda/languages","stargazers_url":"https://api.github.com/repos/mingwandroid/conda/stargazers","contributors_url":"https://api.github.com/repos/mingwandroid/conda/contributors","subscribers_url":"https://api.github.com/repos/mingwandroid/conda/subscribers","subscription_url":"https://api.github.com/repos/mingwandroid/conda/subscription","commits_url":"https://api.github.com/repos/mingwandroid/conda/commits{/sha}","git_commits_url":"https://api.github.com/repos/mingwandroid/conda/git/commits{/sha}","comments_url":"https://api.github.com/repos/mingwandroid/conda/comments{/number}","issue_comment_url":"https://api.github.com/repos/mingwandroid/conda/issues/comments{/number}","contents_url":"https://api.github.com/repos/mingwandroid/conda/contents/{+path}","compare_url":"https://api.github.com/repos/mingwandroid/conda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mingwandroid/conda/merges","archive_url":"https://api.github.com/repos/mingwandroid/conda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mingwandroid/conda/downloads","issues_url":"https://api.github.com/repos/mingwandroid/conda/issues{/number}","pulls_url":"https://api.github.com/repos/mingwandroid/conda/pulls{/number}","milestones_url":"https://api.github.com/repos/mingwandroid/conda/milestones{/number}","notifications_url":"https://api.github.com/repos/mingwandroid/conda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mingwandroid/conda/labels{/name}","releases_url":"https://api.github.com/repos/mingwandroid/conda/releases{/id}","deployments_url":"https://api.github.com/repos/mingwandroid/conda/deployments","created_at":"2016-04-18T11:23:48Z","updated_at":"2016-04-18T11:23:49Z","pushed_at":"2016-08-24T00:58:22Z","git_url":"git://github.com/mingwandroid/conda.git","ssh_url":"git@github.com:mingwandroid/conda.git","clone_url":"https://github.com/mingwandroid/conda.git","svn_url":"https://github.com/mingwandroid/conda","homepage":"conda.pydata.org","size":9436,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"conda:master","ref":"master","sha":"c85e04a58b5824ab9a167d39ee1b880d703e2358","user":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"repo":{"id":6235174,"name":"conda","full_name":"conda/conda","owner":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conda/conda","description":"OS-agnostic, system-level binary package manager and ecosystem","fork":false,"url":"https://api.github.com/repos/conda/conda","forks_url":"https://api.github.com/repos/conda/conda/forks","keys_url":"https://api.github.com/repos/conda/conda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conda/conda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conda/conda/teams","hooks_url":"https://api.github.com/repos/conda/conda/hooks","issue_events_url":"https://api.github.com/repos/conda/conda/issues/events{/number}","events_url":"https://api.github.com/repos/conda/conda/events","assignees_url":"https://api.github.com/repos/conda/conda/assignees{/user}","branches_url":"https://api.github.com/repos/conda/conda/branches{/branch}","tags_url":"https://api.github.com/repos/conda/conda/tags","blobs_url":"https://api.github.com/repos/conda/conda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conda/conda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conda/conda/git/refs{/sha}","trees_url":"https://api.github.com/repos/conda/conda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conda/conda/statuses/{sha}","languages_url":"https://api.github.com/repos/conda/conda/languages","stargazers_url":"https://api.github.com/repos/conda/conda/stargazers","contributors_url":"https://api.github.com/repos/conda/conda/contributors","subscribers_url":"https://api.github.com/repos/conda/conda/subscribers","subscription_url":"https://api.github.com/repos/conda/conda/subscription","commits_url":"https://api.github.com/repos/conda/conda/commits{/sha}","git_commits_url":"https://api.github.com/repos/conda/conda/git/commits{/sha}","comments_url":"https://api.github.com/repos/conda/conda/comments{/number}","issue_comment_url":"https://api.github.com/repos/conda/conda/issues/comments{/number}","contents_url":"https://api.github.com/repos/conda/conda/contents/{+path}","compare_url":"https://api.github.com/repos/conda/conda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conda/conda/merges","archive_url":"https://api.github.com/repos/conda/conda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conda/conda/downloads","issues_url":"https://api.github.com/repos/conda/conda/issues{/number}","pulls_url":"https://api.github.com/repos/conda/conda/pulls{/number}","milestones_url":"https://api.github.com/repos/conda/conda/milestones{/number}","notifications_url":"https://api.github.com/repos/conda/conda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conda/conda/labels{/name}","releases_url":"https://api.github.com/repos/conda/conda/releases{/id}","deployments_url":"https://api.github.com/repos/conda/conda/deployments","created_at":"2012-10-15T22:08:03Z","updated_at":"2016-08-23T09:39:23Z","pushed_at":"2016-08-24T01:15:37Z","git_url":"git://github.com/conda/conda.git","ssh_url":"git@github.com:conda/conda.git","clone_url":"https://github.com/conda/conda.git","svn_url":"https://github.com/conda/conda","homepage":"conda.pydata.org","size":35210,"stargazers_count":843,"watchers_count":843,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":285,"mirror_url":null,"open_issues_count":1014,"forks":285,"open_issues":1014,"watchers":843,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/conda/conda/pulls/3340"},"html":{"href":"https://github.com/conda/conda/pull/3340"},"issue":{"href":"https://api.github.com/repos/conda/conda/issues/3340"},"comments":{"href":"https://api.github.com/repos/conda/conda/issues/3340/comments"},"review_comments":{"href":"https://api.github.com/repos/conda/conda/pulls/3340/comments"},"review_comment":{"href":"https://api.github.com/repos/conda/conda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conda/conda/pulls/3340/commits"},"statuses":{"href":"https://api.github.com/repos/conda/conda/statuses/6019e97b3a87d78d8e21628b1c1a24980143d41d"}}}}
{"actor":{"display_login":"mingwandroid"}}