{"action":"created","comment":{"url":"https://api.github.com/repos/brettcannon/caniusepython3/pulls/comments/26453428","id":26453428,"diff_hunk":"@@ -97,7 +97,16 @@ def projects_from_cli(args):\n def message(blockers):\n     \"\"\"Create a sequence of key messages based on what is blocking.\"\"\"\n     if not blockers:\n-        return ['You have 0 projects blocking you from using Python 3!']\n+        encoding = getattr(sys.stdout, 'encoding', '')\n+        if encoding:\n+            encoding = encoding.lower()\n+        if encoding == 'utf-8':\n+            # raised hands\n+            flair = b'\\xf0\\x9f\\x99\\x8c'.decode('utf-8') + '  '","path":"caniusepython3/__main__.py","position":10,"original_position":10,"commit_id":"6c1a5ce0d76f3740e7aa1dca727a7f806dd1ab5c","original_commit_id":"6c1a5ce0d76f3740e7aa1dca727a7f806dd1ab5c","user":{"login":"brettcannon","id":54418,"avatar_url":"https://avatars.githubusercontent.com/u/54418?v=3","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false},"body":"Can you change this to the `\\u` escape so you don't have to bother with the bytes + decode step?","created_at":"2015-03-15T22:46:14Z","updated_at":"2015-03-15T22:46:14Z","html_url":"https://github.com/brettcannon/caniusepython3/pull/84#discussion_r26453428","pull_request_url":"https://api.github.com/repos/brettcannon/caniusepython3/pulls/84","_links":{"self":{"href":"https://api.github.com/repos/brettcannon/caniusepython3/pulls/comments/26453428"},"html":{"href":"https://github.com/brettcannon/caniusepython3/pull/84#discussion_r26453428"},"pull_request":{"href":"https://api.github.com/repos/brettcannon/caniusepython3/pulls/84"}}},"pull_request":{"url":"https://api.github.com/repos/brettcannon/caniusepython3/pulls/84","id":31142911,"html_url":"https://github.com/brettcannon/caniusepython3/pull/84","diff_url":"https://github.com/brettcannon/caniusepython3/pull/84.diff","patch_url":"https://github.com/brettcannon/caniusepython3/pull/84.patch","issue_url":"https://api.github.com/repos/brettcannon/caniusepython3/issues/84","number":84,"state":"open","locked":false,"title":"Display hands raised icon on success and UTF-8 stdout","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},"body":"Slightly less flair. But still adds a bit of sexiness to Python 3 compatibility.\r\n\r\nIf this isn't good either, I promise I will stop :smile: ","created_at":"2015-03-13T16:48:19Z","updated_at":"2015-03-15T22:46:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"545612996ea097f07dc05157553a4bcd91b74dd6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/brettcannon/caniusepython3/pulls/84/commits","review_comments_url":"https://api.github.com/repos/brettcannon/caniusepython3/pulls/84/comments","review_comment_url":"https://api.github.com/repos/brettcannon/caniusepython3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brettcannon/caniusepython3/issues/84/comments","statuses_url":"https://api.github.com/repos/brettcannon/caniusepython3/statuses/6c1a5ce0d76f3740e7aa1dca727a7f806dd1ab5c","head":{"label":"msabramo:flair2","ref":"flair2","sha":"6c1a5ce0d76f3740e7aa1dca727a7f806dd1ab5c","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},"repo":{"id":31975583,"name":"caniusepython3","full_name":"msabramo/caniusepython3","owner":{"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},"private":false,"html_url":"https://github.com/msabramo/caniusepython3","description":"Can I Use Python 3?","fork":true,"url":"https://api.github.com/repos/msabramo/caniusepython3","forks_url":"https://api.github.com/repos/msabramo/caniusepython3/forks","keys_url":"https://api.github.com/repos/msabramo/caniusepython3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/msabramo/caniusepython3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/msabramo/caniusepython3/teams","hooks_url":"https://api.github.com/repos/msabramo/caniusepython3/hooks","issue_events_url":"https://api.github.com/repos/msabramo/caniusepython3/issues/events{/number}","events_url":"https://api.github.com/repos/msabramo/caniusepython3/events","assignees_url":"https://api.github.com/repos/msabramo/caniusepython3/assignees{/user}","branches_url":"https://api.github.com/repos/msabramo/caniusepython3/branches{/branch}","tags_url":"https://api.github.com/repos/msabramo/caniusepython3/tags","blobs_url":"https://api.github.com/repos/msabramo/caniusepython3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/msabramo/caniusepython3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/msabramo/caniusepython3/git/refs{/sha}","trees_url":"https://api.github.com/repos/msabramo/caniusepython3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/msabramo/caniusepython3/statuses/{sha}","languages_url":"https://api.github.com/repos/msabramo/caniusepython3/languages","stargazers_url":"https://api.github.com/repos/msabramo/caniusepython3/stargazers","contributors_url":"https://api.github.com/repos/msabramo/caniusepython3/contributors","subscribers_url":"https://api.github.com/repos/msabramo/caniusepython3/subscribers","subscription_url":"https://api.github.com/repos/msabramo/caniusepython3/subscription","commits_url":"https://api.github.com/repos/msabramo/caniusepython3/commits{/sha}","git_commits_url":"https://api.github.com/repos/msabramo/caniusepython3/git/commits{/sha}","comments_url":"https://api.github.com/repos/msabramo/caniusepython3/comments{/number}","issue_comment_url":"https://api.github.com/repos/msabramo/caniusepython3/issues/comments{/number}","contents_url":"https://api.github.com/repos/msabramo/caniusepython3/contents/{+path}","compare_url":"https://api.github.com/repos/msabramo/caniusepython3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/msabramo/caniusepython3/merges","archive_url":"https://api.github.com/repos/msabramo/caniusepython3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/msabramo/caniusepython3/downloads","issues_url":"https://api.github.com/repos/msabramo/caniusepython3/issues{/number}","pulls_url":"https://api.github.com/repos/msabramo/caniusepython3/pulls{/number}","milestones_url":"https://api.github.com/repos/msabramo/caniusepython3/milestones{/number}","notifications_url":"https://api.github.com/repos/msabramo/caniusepython3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/msabramo/caniusepython3/labels{/name}","releases_url":"https://api.github.com/repos/msabramo/caniusepython3/releases{/id}","created_at":"2015-03-10T18:51:42Z","updated_at":"2015-03-10T18:51:42Z","pushed_at":"2015-03-14T16:57:20Z","git_url":"git://github.com/msabramo/caniusepython3.git","ssh_url":"git@github.com:msabramo/caniusepython3.git","clone_url":"https://github.com/msabramo/caniusepython3.git","svn_url":"https://github.com/msabramo/caniusepython3","homepage":null,"size":276,"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":"brettcannon:master","ref":"master","sha":"182454e0048c35dba510c89ecee563f440a0f599","user":{"login":"brettcannon","id":54418,"avatar_url":"https://avatars.githubusercontent.com/u/54418?v=3","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false},"repo":{"id":16850784,"name":"caniusepython3","full_name":"brettcannon/caniusepython3","owner":{"login":"brettcannon","id":54418,"avatar_url":"https://avatars.githubusercontent.com/u/54418?v=3","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brettcannon/caniusepython3","description":"Can I Use Python 3?","fork":false,"url":"https://api.github.com/repos/brettcannon/caniusepython3","forks_url":"https://api.github.com/repos/brettcannon/caniusepython3/forks","keys_url":"https://api.github.com/repos/brettcannon/caniusepython3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brettcannon/caniusepython3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brettcannon/caniusepython3/teams","hooks_url":"https://api.github.com/repos/brettcannon/caniusepython3/hooks","issue_events_url":"https://api.github.com/repos/brettcannon/caniusepython3/issues/events{/number}","events_url":"https://api.github.com/repos/brettcannon/caniusepython3/events","assignees_url":"https://api.github.com/repos/brettcannon/caniusepython3/assignees{/user}","branches_url":"https://api.github.com/repos/brettcannon/caniusepython3/branches{/branch}","tags_url":"https://api.github.com/repos/brettcannon/caniusepython3/tags","blobs_url":"https://api.github.com/repos/brettcannon/caniusepython3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brettcannon/caniusepython3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brettcannon/caniusepython3/git/refs{/sha}","trees_url":"https://api.github.com/repos/brettcannon/caniusepython3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brettcannon/caniusepython3/statuses/{sha}","languages_url":"https://api.github.com/repos/brettcannon/caniusepython3/languages","stargazers_url":"https://api.github.com/repos/brettcannon/caniusepython3/stargazers","contributors_url":"https://api.github.com/repos/brettcannon/caniusepython3/contributors","subscribers_url":"https://api.github.com/repos/brettcannon/caniusepython3/subscribers","subscription_url":"https://api.github.com/repos/brettcannon/caniusepython3/subscription","commits_url":"https://api.github.com/repos/brettcannon/caniusepython3/commits{/sha}","git_commits_url":"https://api.github.com/repos/brettcannon/caniusepython3/git/commits{/sha}","comments_url":"https://api.github.com/repos/brettcannon/caniusepython3/comments{/number}","issue_comment_url":"https://api.github.com/repos/brettcannon/caniusepython3/issues/comments{/number}","contents_url":"https://api.github.com/repos/brettcannon/caniusepython3/contents/{+path}","compare_url":"https://api.github.com/repos/brettcannon/caniusepython3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brettcannon/caniusepython3/merges","archive_url":"https://api.github.com/repos/brettcannon/caniusepython3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brettcannon/caniusepython3/downloads","issues_url":"https://api.github.com/repos/brettcannon/caniusepython3/issues{/number}","pulls_url":"https://api.github.com/repos/brettcannon/caniusepython3/pulls{/number}","milestones_url":"https://api.github.com/repos/brettcannon/caniusepython3/milestones{/number}","notifications_url":"https://api.github.com/repos/brettcannon/caniusepython3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brettcannon/caniusepython3/labels{/name}","releases_url":"https://api.github.com/repos/brettcannon/caniusepython3/releases{/id}","created_at":"2014-02-14T22:05:51Z","updated_at":"2015-03-14T13:24:43Z","pushed_at":"2015-03-14T13:24:42Z","git_url":"git://github.com/brettcannon/caniusepython3.git","ssh_url":"git@github.com:brettcannon/caniusepython3.git","clone_url":"https://github.com/brettcannon/caniusepython3.git","svn_url":"https://github.com/brettcannon/caniusepython3","homepage":null,"size":996,"stargazers_count":185,"watchers_count":185,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":3,"forks":15,"open_issues":3,"watchers":185,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brettcannon/caniusepython3/pulls/84"},"html":{"href":"https://github.com/brettcannon/caniusepython3/pull/84"},"issue":{"href":"https://api.github.com/repos/brettcannon/caniusepython3/issues/84"},"comments":{"href":"https://api.github.com/repos/brettcannon/caniusepython3/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/brettcannon/caniusepython3/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/brettcannon/caniusepython3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brettcannon/caniusepython3/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/brettcannon/caniusepython3/statuses/6c1a5ce0d76f3740e7aa1dca727a7f806dd1ab5c"}}}}