{"action":"closed","number":99,"pull_request":{"url":"https://api.github.com/repos/timotheus/ebaysdk-python/pulls/99","id":32976321,"html_url":"https://github.com/timotheus/ebaysdk-python/pull/99","diff_url":"https://github.com/timotheus/ebaysdk-python/pull/99.diff","patch_url":"https://github.com/timotheus/ebaysdk-python/pull/99.patch","issue_url":"https://api.github.com/repos/timotheus/ebaysdk-python/issues/99","number":99,"state":"closed","locked":false,"title":"Fixed issue with UnicodeDecodeError","user":{"login":"bimusiek","id":1025588,"avatar_url":"https://avatars.githubusercontent.com/u/1025588?v=3","gravatar_id":"","url":"https://api.github.com/users/bimusiek","html_url":"https://github.com/bimusiek","followers_url":"https://api.github.com/users/bimusiek/followers","following_url":"https://api.github.com/users/bimusiek/following{/other_user}","gists_url":"https://api.github.com/users/bimusiek/gists{/gist_id}","starred_url":"https://api.github.com/users/bimusiek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bimusiek/subscriptions","organizations_url":"https://api.github.com/users/bimusiek/orgs","repos_url":"https://api.github.com/users/bimusiek/repos","events_url":"https://api.github.com/users/bimusiek/events{/privacy}","received_events_url":"https://api.github.com/users/bimusiek/received_events","type":"User","site_admin":false},"body":"Fixes #91 \r\n\r\nIssue is that when you use \r\n\r\n    from __future__ import unicode_literals\r\n\r\nThen all string and modulo operator is evaluated as `unicode`, so even when you do in `smart_decode` `encode('utf-8')` then it is unpacked again to unicode globally. Basically I had to force everywhere `str()` and `format` instead of modulo operator. \r\n\r\nIf anyone has better solution, I am open-minded :+1: \r\n\r\nI am not sure if my example dict in test covered all possibilities.","created_at":"2015-04-09T17:14:00Z","updated_at":"2015-04-15T03:14:24Z","closed_at":"2015-04-15T03:14:24Z","merged_at":"2015-04-15T03:14:24Z","merge_commit_sha":"64288c296bea876a434b1ff6da72d401c0c2749b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/timotheus/ebaysdk-python/pulls/99/commits","review_comments_url":"https://api.github.com/repos/timotheus/ebaysdk-python/pulls/99/comments","review_comment_url":"https://api.github.com/repos/timotheus/ebaysdk-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/timotheus/ebaysdk-python/issues/99/comments","statuses_url":"https://api.github.com/repos/timotheus/ebaysdk-python/statuses/3766e6f23d64ca4d7ba2fec53b09e92c9cb212dd","head":{"label":"bimusiek:master","ref":"master","sha":"3766e6f23d64ca4d7ba2fec53b09e92c9cb212dd","user":{"login":"bimusiek","id":1025588,"avatar_url":"https://avatars.githubusercontent.com/u/1025588?v=3","gravatar_id":"","url":"https://api.github.com/users/bimusiek","html_url":"https://github.com/bimusiek","followers_url":"https://api.github.com/users/bimusiek/followers","following_url":"https://api.github.com/users/bimusiek/following{/other_user}","gists_url":"https://api.github.com/users/bimusiek/gists{/gist_id}","starred_url":"https://api.github.com/users/bimusiek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bimusiek/subscriptions","organizations_url":"https://api.github.com/users/bimusiek/orgs","repos_url":"https://api.github.com/users/bimusiek/repos","events_url":"https://api.github.com/users/bimusiek/events{/privacy}","received_events_url":"https://api.github.com/users/bimusiek/received_events","type":"User","site_admin":false},"repo":{"id":33679467,"name":"ebaysdk-python","full_name":"bimusiek/ebaysdk-python","owner":{"login":"bimusiek","id":1025588,"avatar_url":"https://avatars.githubusercontent.com/u/1025588?v=3","gravatar_id":"","url":"https://api.github.com/users/bimusiek","html_url":"https://github.com/bimusiek","followers_url":"https://api.github.com/users/bimusiek/followers","following_url":"https://api.github.com/users/bimusiek/following{/other_user}","gists_url":"https://api.github.com/users/bimusiek/gists{/gist_id}","starred_url":"https://api.github.com/users/bimusiek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bimusiek/subscriptions","organizations_url":"https://api.github.com/users/bimusiek/orgs","repos_url":"https://api.github.com/users/bimusiek/repos","events_url":"https://api.github.com/users/bimusiek/events{/privacy}","received_events_url":"https://api.github.com/users/bimusiek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bimusiek/ebaysdk-python","description":"eBay API SDK for Python","fork":true,"url":"https://api.github.com/repos/bimusiek/ebaysdk-python","forks_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/forks","keys_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/teams","hooks_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/hooks","issue_events_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/issues/events{/number}","events_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/events","assignees_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/assignees{/user}","branches_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/branches{/branch}","tags_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/tags","blobs_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/statuses/{sha}","languages_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/languages","stargazers_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/stargazers","contributors_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/contributors","subscribers_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/subscribers","subscription_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/subscription","commits_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/contents/{+path}","compare_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/merges","archive_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/downloads","issues_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/issues{/number}","pulls_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/pulls{/number}","milestones_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/milestones{/number}","notifications_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/labels{/name}","releases_url":"https://api.github.com/repos/bimusiek/ebaysdk-python/releases{/id}","created_at":"2015-04-09T16:17:41Z","updated_at":"2015-04-10T13:09:04Z","pushed_at":"2015-04-10T13:09:04Z","git_url":"git://github.com/bimusiek/ebaysdk-python.git","ssh_url":"git@github.com:bimusiek/ebaysdk-python.git","clone_url":"https://github.com/bimusiek/ebaysdk-python.git","svn_url":"https://github.com/bimusiek/ebaysdk-python","homepage":"","size":1036,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"timotheus:master","ref":"master","sha":"360535f5aad34d686a60c377fdff58366fd41bbf","user":{"login":"timotheus","id":108639,"avatar_url":"https://avatars.githubusercontent.com/u/108639?v=3","gravatar_id":"","url":"https://api.github.com/users/timotheus","html_url":"https://github.com/timotheus","followers_url":"https://api.github.com/users/timotheus/followers","following_url":"https://api.github.com/users/timotheus/following{/other_user}","gists_url":"https://api.github.com/users/timotheus/gists{/gist_id}","starred_url":"https://api.github.com/users/timotheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timotheus/subscriptions","organizations_url":"https://api.github.com/users/timotheus/orgs","repos_url":"https://api.github.com/users/timotheus/repos","events_url":"https://api.github.com/users/timotheus/events{/privacy}","received_events_url":"https://api.github.com/users/timotheus/received_events","type":"User","site_admin":false},"repo":{"id":2149604,"name":"ebaysdk-python","full_name":"timotheus/ebaysdk-python","owner":{"login":"timotheus","id":108639,"avatar_url":"https://avatars.githubusercontent.com/u/108639?v=3","gravatar_id":"","url":"https://api.github.com/users/timotheus","html_url":"https://github.com/timotheus","followers_url":"https://api.github.com/users/timotheus/followers","following_url":"https://api.github.com/users/timotheus/following{/other_user}","gists_url":"https://api.github.com/users/timotheus/gists{/gist_id}","starred_url":"https://api.github.com/users/timotheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timotheus/subscriptions","organizations_url":"https://api.github.com/users/timotheus/orgs","repos_url":"https://api.github.com/users/timotheus/repos","events_url":"https://api.github.com/users/timotheus/events{/privacy}","received_events_url":"https://api.github.com/users/timotheus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timotheus/ebaysdk-python","description":"eBay API SDK for Python","fork":false,"url":"https://api.github.com/repos/timotheus/ebaysdk-python","forks_url":"https://api.github.com/repos/timotheus/ebaysdk-python/forks","keys_url":"https://api.github.com/repos/timotheus/ebaysdk-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timotheus/ebaysdk-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timotheus/ebaysdk-python/teams","hooks_url":"https://api.github.com/repos/timotheus/ebaysdk-python/hooks","issue_events_url":"https://api.github.com/repos/timotheus/ebaysdk-python/issues/events{/number}","events_url":"https://api.github.com/repos/timotheus/ebaysdk-python/events","assignees_url":"https://api.github.com/repos/timotheus/ebaysdk-python/assignees{/user}","branches_url":"https://api.github.com/repos/timotheus/ebaysdk-python/branches{/branch}","tags_url":"https://api.github.com/repos/timotheus/ebaysdk-python/tags","blobs_url":"https://api.github.com/repos/timotheus/ebaysdk-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timotheus/ebaysdk-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timotheus/ebaysdk-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/timotheus/ebaysdk-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timotheus/ebaysdk-python/statuses/{sha}","languages_url":"https://api.github.com/repos/timotheus/ebaysdk-python/languages","stargazers_url":"https://api.github.com/repos/timotheus/ebaysdk-python/stargazers","contributors_url":"https://api.github.com/repos/timotheus/ebaysdk-python/contributors","subscribers_url":"https://api.github.com/repos/timotheus/ebaysdk-python/subscribers","subscription_url":"https://api.github.com/repos/timotheus/ebaysdk-python/subscription","commits_url":"https://api.github.com/repos/timotheus/ebaysdk-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/timotheus/ebaysdk-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/timotheus/ebaysdk-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/timotheus/ebaysdk-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/timotheus/ebaysdk-python/contents/{+path}","compare_url":"https://api.github.com/repos/timotheus/ebaysdk-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timotheus/ebaysdk-python/merges","archive_url":"https://api.github.com/repos/timotheus/ebaysdk-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timotheus/ebaysdk-python/downloads","issues_url":"https://api.github.com/repos/timotheus/ebaysdk-python/issues{/number}","pulls_url":"https://api.github.com/repos/timotheus/ebaysdk-python/pulls{/number}","milestones_url":"https://api.github.com/repos/timotheus/ebaysdk-python/milestones{/number}","notifications_url":"https://api.github.com/repos/timotheus/ebaysdk-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timotheus/ebaysdk-python/labels{/name}","releases_url":"https://api.github.com/repos/timotheus/ebaysdk-python/releases{/id}","created_at":"2011-08-03T16:40:09Z","updated_at":"2015-04-15T03:14:24Z","pushed_at":"2015-04-15T03:14:24Z","git_url":"git://github.com/timotheus/ebaysdk-python.git","ssh_url":"git@github.com:timotheus/ebaysdk-python.git","clone_url":"https://github.com/timotheus/ebaysdk-python.git","svn_url":"https://github.com/timotheus/ebaysdk-python","homepage":"","size":3547,"stargazers_count":135,"watchers_count":135,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":78,"mirror_url":null,"open_issues_count":22,"forks":78,"open_issues":22,"watchers":135,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/timotheus/ebaysdk-python/pulls/99"},"html":{"href":"https://github.com/timotheus/ebaysdk-python/pull/99"},"issue":{"href":"https://api.github.com/repos/timotheus/ebaysdk-python/issues/99"},"comments":{"href":"https://api.github.com/repos/timotheus/ebaysdk-python/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/timotheus/ebaysdk-python/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/timotheus/ebaysdk-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/timotheus/ebaysdk-python/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/timotheus/ebaysdk-python/statuses/3766e6f23d64ca4d7ba2fec53b09e92c9cb212dd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"timotheus","id":108639,"avatar_url":"https://avatars.githubusercontent.com/u/108639?v=3","gravatar_id":"","url":"https://api.github.com/users/timotheus","html_url":"https://github.com/timotheus","followers_url":"https://api.github.com/users/timotheus/followers","following_url":"https://api.github.com/users/timotheus/following{/other_user}","gists_url":"https://api.github.com/users/timotheus/gists{/gist_id}","starred_url":"https://api.github.com/users/timotheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timotheus/subscriptions","organizations_url":"https://api.github.com/users/timotheus/orgs","repos_url":"https://api.github.com/users/timotheus/repos","events_url":"https://api.github.com/users/timotheus/events{/privacy}","received_events_url":"https://api.github.com/users/timotheus/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"commits":1,"additions":0,"deletions":0,"changed_files":0}}