{"action":"closed","number":3478,"pull_request":{"url":"https://api.github.com/repos/kennethreitz/requests/pulls/3478","id":80531623,"html_url":"https://github.com/kennethreitz/requests/pull/3478","diff_url":"https://github.com/kennethreitz/requests/pull/3478.diff","patch_url":"https://github.com/kennethreitz/requests/pull/3478.patch","issue_url":"https://api.github.com/repos/kennethreitz/requests/issues/3478","number":3478,"state":"closed","locked":false,"title":"Fix python3.2 unicode literral error.","user":{"login":"huseyinyilmaz","id":344587,"avatar_url":"https://avatars.githubusercontent.com/u/344587?v=3","gravatar_id":"","url":"https://api.github.com/users/huseyinyilmaz","html_url":"https://github.com/huseyinyilmaz","followers_url":"https://api.github.com/users/huseyinyilmaz/followers","following_url":"https://api.github.com/users/huseyinyilmaz/following{/other_user}","gists_url":"https://api.github.com/users/huseyinyilmaz/gists{/gist_id}","starred_url":"https://api.github.com/users/huseyinyilmaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huseyinyilmaz/subscriptions","organizations_url":"https://api.github.com/users/huseyinyilmaz/orgs","repos_url":"https://api.github.com/users/huseyinyilmaz/repos","events_url":"https://api.github.com/users/huseyinyilmaz/events{/privacy}","received_events_url":"https://api.github.com/users/huseyinyilmaz/received_events","type":"User","site_admin":false},"body":"This is a specific fix for python3.2.\r\nWhen I install requests version v2.11.0, I get an invalid syntax error.\r\nIt turns out the reason for that error is because \"u\" prefix for unicode strings are not allowed in python3.2. So I removed the \"u\" prefix to fix the issue.\r\n\r\nTo test it ,I moved the request library into my codebase and get syntax error:\r\n\r\nhttps://travis-ci.org/huseyinyilmaz/placebo/builds/150770392\r\n\r\nThan I fixed the issue and ran my tests again:\r\n\r\nhttps://travis-ci.org/huseyinyilmaz/placebo/builds/150770803\r\n\r\nI realized that this is not a right way to test this. But I could not install python3.2 on my mac. So I decided to use travis-ci's python version.\r\n","created_at":"2016-08-08T22:16:27Z","updated_at":"2016-08-08T22:52:50Z","closed_at":"2016-08-08T22:52:49Z","merged_at":null,"merge_commit_sha":"12a45611ac944eb3442ffa27606625707ca0f647","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kennethreitz/requests/pulls/3478/commits","review_comments_url":"https://api.github.com/repos/kennethreitz/requests/pulls/3478/comments","review_comment_url":"https://api.github.com/repos/kennethreitz/requests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kennethreitz/requests/issues/3478/comments","statuses_url":"https://api.github.com/repos/kennethreitz/requests/statuses/171dddefe1a5e4034eeaaf4d0c76cc47c56d5b93","head":{"label":"huseyinyilmaz:python32-unicode-fix","ref":"python32-unicode-fix","sha":"171dddefe1a5e4034eeaaf4d0c76cc47c56d5b93","user":{"login":"huseyinyilmaz","id":344587,"avatar_url":"https://avatars.githubusercontent.com/u/344587?v=3","gravatar_id":"","url":"https://api.github.com/users/huseyinyilmaz","html_url":"https://github.com/huseyinyilmaz","followers_url":"https://api.github.com/users/huseyinyilmaz/followers","following_url":"https://api.github.com/users/huseyinyilmaz/following{/other_user}","gists_url":"https://api.github.com/users/huseyinyilmaz/gists{/gist_id}","starred_url":"https://api.github.com/users/huseyinyilmaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huseyinyilmaz/subscriptions","organizations_url":"https://api.github.com/users/huseyinyilmaz/orgs","repos_url":"https://api.github.com/users/huseyinyilmaz/repos","events_url":"https://api.github.com/users/huseyinyilmaz/events{/privacy}","received_events_url":"https://api.github.com/users/huseyinyilmaz/received_events","type":"User","site_admin":false},"repo":{"id":65242547,"name":"requests","full_name":"huseyinyilmaz/requests","owner":{"login":"huseyinyilmaz","id":344587,"avatar_url":"https://avatars.githubusercontent.com/u/344587?v=3","gravatar_id":"","url":"https://api.github.com/users/huseyinyilmaz","html_url":"https://github.com/huseyinyilmaz","followers_url":"https://api.github.com/users/huseyinyilmaz/followers","following_url":"https://api.github.com/users/huseyinyilmaz/following{/other_user}","gists_url":"https://api.github.com/users/huseyinyilmaz/gists{/gist_id}","starred_url":"https://api.github.com/users/huseyinyilmaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huseyinyilmaz/subscriptions","organizations_url":"https://api.github.com/users/huseyinyilmaz/orgs","repos_url":"https://api.github.com/users/huseyinyilmaz/repos","events_url":"https://api.github.com/users/huseyinyilmaz/events{/privacy}","received_events_url":"https://api.github.com/users/huseyinyilmaz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/huseyinyilmaz/requests","description":"Python HTTP Requests for Humans™","fork":true,"url":"https://api.github.com/repos/huseyinyilmaz/requests","forks_url":"https://api.github.com/repos/huseyinyilmaz/requests/forks","keys_url":"https://api.github.com/repos/huseyinyilmaz/requests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/huseyinyilmaz/requests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/huseyinyilmaz/requests/teams","hooks_url":"https://api.github.com/repos/huseyinyilmaz/requests/hooks","issue_events_url":"https://api.github.com/repos/huseyinyilmaz/requests/issues/events{/number}","events_url":"https://api.github.com/repos/huseyinyilmaz/requests/events","assignees_url":"https://api.github.com/repos/huseyinyilmaz/requests/assignees{/user}","branches_url":"https://api.github.com/repos/huseyinyilmaz/requests/branches{/branch}","tags_url":"https://api.github.com/repos/huseyinyilmaz/requests/tags","blobs_url":"https://api.github.com/repos/huseyinyilmaz/requests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/huseyinyilmaz/requests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/huseyinyilmaz/requests/git/refs{/sha}","trees_url":"https://api.github.com/repos/huseyinyilmaz/requests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/huseyinyilmaz/requests/statuses/{sha}","languages_url":"https://api.github.com/repos/huseyinyilmaz/requests/languages","stargazers_url":"https://api.github.com/repos/huseyinyilmaz/requests/stargazers","contributors_url":"https://api.github.com/repos/huseyinyilmaz/requests/contributors","subscribers_url":"https://api.github.com/repos/huseyinyilmaz/requests/subscribers","subscription_url":"https://api.github.com/repos/huseyinyilmaz/requests/subscription","commits_url":"https://api.github.com/repos/huseyinyilmaz/requests/commits{/sha}","git_commits_url":"https://api.github.com/repos/huseyinyilmaz/requests/git/commits{/sha}","comments_url":"https://api.github.com/repos/huseyinyilmaz/requests/comments{/number}","issue_comment_url":"https://api.github.com/repos/huseyinyilmaz/requests/issues/comments{/number}","contents_url":"https://api.github.com/repos/huseyinyilmaz/requests/contents/{+path}","compare_url":"https://api.github.com/repos/huseyinyilmaz/requests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/huseyinyilmaz/requests/merges","archive_url":"https://api.github.com/repos/huseyinyilmaz/requests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/huseyinyilmaz/requests/downloads","issues_url":"https://api.github.com/repos/huseyinyilmaz/requests/issues{/number}","pulls_url":"https://api.github.com/repos/huseyinyilmaz/requests/pulls{/number}","milestones_url":"https://api.github.com/repos/huseyinyilmaz/requests/milestones{/number}","notifications_url":"https://api.github.com/repos/huseyinyilmaz/requests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/huseyinyilmaz/requests/labels{/name}","releases_url":"https://api.github.com/repos/huseyinyilmaz/requests/releases{/id}","deployments_url":"https://api.github.com/repos/huseyinyilmaz/requests/deployments","created_at":"2016-08-08T22:00:49Z","updated_at":"2016-08-08T22:00:53Z","pushed_at":"2016-08-08T22:09:48Z","git_url":"git://github.com/huseyinyilmaz/requests.git","ssh_url":"git@github.com:huseyinyilmaz/requests.git","clone_url":"https://github.com/huseyinyilmaz/requests.git","svn_url":"https://github.com/huseyinyilmaz/requests","homepage":"python-requests.org","size":9343,"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":"kennethreitz:master","ref":"master","sha":"57e7a308b0b118b8fb98b4f453b5653d245d5a52","user":{"login":"kennethreitz","id":119893,"avatar_url":"https://avatars.githubusercontent.com/u/119893?v=3","gravatar_id":"","url":"https://api.github.com/users/kennethreitz","html_url":"https://github.com/kennethreitz","followers_url":"https://api.github.com/users/kennethreitz/followers","following_url":"https://api.github.com/users/kennethreitz/following{/other_user}","gists_url":"https://api.github.com/users/kennethreitz/gists{/gist_id}","starred_url":"https://api.github.com/users/kennethreitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennethreitz/subscriptions","organizations_url":"https://api.github.com/users/kennethreitz/orgs","repos_url":"https://api.github.com/users/kennethreitz/repos","events_url":"https://api.github.com/users/kennethreitz/events{/privacy}","received_events_url":"https://api.github.com/users/kennethreitz/received_events","type":"User","site_admin":false},"repo":{"id":1362490,"name":"requests","full_name":"kennethreitz/requests","owner":{"login":"kennethreitz","id":119893,"avatar_url":"https://avatars.githubusercontent.com/u/119893?v=3","gravatar_id":"","url":"https://api.github.com/users/kennethreitz","html_url":"https://github.com/kennethreitz","followers_url":"https://api.github.com/users/kennethreitz/followers","following_url":"https://api.github.com/users/kennethreitz/following{/other_user}","gists_url":"https://api.github.com/users/kennethreitz/gists{/gist_id}","starred_url":"https://api.github.com/users/kennethreitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennethreitz/subscriptions","organizations_url":"https://api.github.com/users/kennethreitz/orgs","repos_url":"https://api.github.com/users/kennethreitz/repos","events_url":"https://api.github.com/users/kennethreitz/events{/privacy}","received_events_url":"https://api.github.com/users/kennethreitz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kennethreitz/requests","description":"Python HTTP Requests for Humans™","fork":false,"url":"https://api.github.com/repos/kennethreitz/requests","forks_url":"https://api.github.com/repos/kennethreitz/requests/forks","keys_url":"https://api.github.com/repos/kennethreitz/requests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kennethreitz/requests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kennethreitz/requests/teams","hooks_url":"https://api.github.com/repos/kennethreitz/requests/hooks","issue_events_url":"https://api.github.com/repos/kennethreitz/requests/issues/events{/number}","events_url":"https://api.github.com/repos/kennethreitz/requests/events","assignees_url":"https://api.github.com/repos/kennethreitz/requests/assignees{/user}","branches_url":"https://api.github.com/repos/kennethreitz/requests/branches{/branch}","tags_url":"https://api.github.com/repos/kennethreitz/requests/tags","blobs_url":"https://api.github.com/repos/kennethreitz/requests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kennethreitz/requests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kennethreitz/requests/git/refs{/sha}","trees_url":"https://api.github.com/repos/kennethreitz/requests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kennethreitz/requests/statuses/{sha}","languages_url":"https://api.github.com/repos/kennethreitz/requests/languages","stargazers_url":"https://api.github.com/repos/kennethreitz/requests/stargazers","contributors_url":"https://api.github.com/repos/kennethreitz/requests/contributors","subscribers_url":"https://api.github.com/repos/kennethreitz/requests/subscribers","subscription_url":"https://api.github.com/repos/kennethreitz/requests/subscription","commits_url":"https://api.github.com/repos/kennethreitz/requests/commits{/sha}","git_commits_url":"https://api.github.com/repos/kennethreitz/requests/git/commits{/sha}","comments_url":"https://api.github.com/repos/kennethreitz/requests/comments{/number}","issue_comment_url":"https://api.github.com/repos/kennethreitz/requests/issues/comments{/number}","contents_url":"https://api.github.com/repos/kennethreitz/requests/contents/{+path}","compare_url":"https://api.github.com/repos/kennethreitz/requests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kennethreitz/requests/merges","archive_url":"https://api.github.com/repos/kennethreitz/requests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kennethreitz/requests/downloads","issues_url":"https://api.github.com/repos/kennethreitz/requests/issues{/number}","pulls_url":"https://api.github.com/repos/kennethreitz/requests/pulls{/number}","milestones_url":"https://api.github.com/repos/kennethreitz/requests/milestones{/number}","notifications_url":"https://api.github.com/repos/kennethreitz/requests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kennethreitz/requests/labels{/name}","releases_url":"https://api.github.com/repos/kennethreitz/requests/releases{/id}","deployments_url":"https://api.github.com/repos/kennethreitz/requests/deployments","created_at":"2011-02-13T18:38:17Z","updated_at":"2016-08-08T21:10:07Z","pushed_at":"2016-08-08T22:16:27Z","git_url":"git://github.com/kennethreitz/requests.git","ssh_url":"git@github.com:kennethreitz/requests.git","clone_url":"https://github.com/kennethreitz/requests.git","svn_url":"https://github.com/kennethreitz/requests","homepage":"python-requests.org","size":9355,"stargazers_count":20205,"watchers_count":20205,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3546,"mirror_url":null,"open_issues_count":91,"forks":3546,"open_issues":91,"watchers":20205,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kennethreitz/requests/pulls/3478"},"html":{"href":"https://github.com/kennethreitz/requests/pull/3478"},"issue":{"href":"https://api.github.com/repos/kennethreitz/requests/issues/3478"},"comments":{"href":"https://api.github.com/repos/kennethreitz/requests/issues/3478/comments"},"review_comments":{"href":"https://api.github.com/repos/kennethreitz/requests/pulls/3478/comments"},"review_comment":{"href":"https://api.github.com/repos/kennethreitz/requests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kennethreitz/requests/pulls/3478/commits"},"statuses":{"href":"https://api.github.com/repos/kennethreitz/requests/statuses/171dddefe1a5e4034eeaaf4d0c76cc47c56d5b93"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"huseyinyilmaz"}}