{"action":"closed","number":67,"pull_request":{"url":"https://api.github.com/repos/linsomniac/python-memcached/pulls/67","id":33957453,"html_url":"https://github.com/linsomniac/python-memcached/pull/67","diff_url":"https://github.com/linsomniac/python-memcached/pull/67.diff","patch_url":"https://github.com/linsomniac/python-memcached/pull/67.patch","issue_url":"https://api.github.com/repos/linsomniac/python-memcached/issues/67","number":67,"state":"closed","locked":false,"title":"Port memcache to Python 3","user":{"login":"haypo","id":194129,"avatar_url":"https://avatars.githubusercontent.com/u/194129?v=3","gravatar_id":"","url":"https://api.github.com/users/haypo","html_url":"https://github.com/haypo","followers_url":"https://api.github.com/users/haypo/followers","following_url":"https://api.github.com/users/haypo/following{/other_user}","gists_url":"https://api.github.com/users/haypo/gists{/gist_id}","starred_url":"https://api.github.com/users/haypo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haypo/subscriptions","organizations_url":"https://api.github.com/users/haypo/orgs","repos_url":"https://api.github.com/users/haypo/repos","events_url":"https://api.github.com/users/haypo/events{/privacy}","received_events_url":"https://api.github.com/users/haypo/received_events","type":"User","site_admin":false},"body":"* Encode unicode key to UTF-8: add _encode_key() method\r\n* Add _encode_cmd() helper method to format a memcache command as a byte string (bytes%args will only be supported in Python 3.5)\r\n* Rewrite _map_and_prefix_keys() code converting keys\r\n* _val_to_store_info() now accepts Unicode: Unicode is encoded to UTF-8\r\n* _set('cas') doesn't call _val_to_store_info() anymore when it's not needed: begin by checking if the key is in the cas_ids dictionary\r\n* Process server reply as bytes\r\n* _recv_value() now clears the _FLAG_COMPRESSED flag after decompressing to simplify the code\r\n* On Python 3, _recv_value() now decodes byte strings from UTF-8\r\n* Simplify check_key(), _encode_key() now encodes Unicode to UTF-8","created_at":"2015-04-23T13:56:06Z","updated_at":"2015-07-26T20:41:16Z","closed_at":"2015-07-26T20:41:16Z","merged_at":"2015-07-26T20:41:16Z","merge_commit_sha":"8dd9e9999f9482766c01aa3584be9cdfb3c734aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/linsomniac/python-memcached/pulls/67/commits","review_comments_url":"https://api.github.com/repos/linsomniac/python-memcached/pulls/67/comments","review_comment_url":"https://api.github.com/repos/linsomniac/python-memcached/pulls/comments{/number}","comments_url":"https://api.github.com/repos/linsomniac/python-memcached/issues/67/comments","statuses_url":"https://api.github.com/repos/linsomniac/python-memcached/statuses/04f1c78c13bd54050b1d2d3baa9e86d9e79b3629","head":{"label":"haypo:py3","ref":"py3","sha":"04f1c78c13bd54050b1d2d3baa9e86d9e79b3629","user":{"login":"haypo","id":194129,"avatar_url":"https://avatars.githubusercontent.com/u/194129?v=3","gravatar_id":"","url":"https://api.github.com/users/haypo","html_url":"https://github.com/haypo","followers_url":"https://api.github.com/users/haypo/followers","following_url":"https://api.github.com/users/haypo/following{/other_user}","gists_url":"https://api.github.com/users/haypo/gists{/gist_id}","starred_url":"https://api.github.com/users/haypo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haypo/subscriptions","organizations_url":"https://api.github.com/users/haypo/orgs","repos_url":"https://api.github.com/users/haypo/repos","events_url":"https://api.github.com/users/haypo/events{/privacy}","received_events_url":"https://api.github.com/users/haypo/received_events","type":"User","site_admin":false},"repo":{"id":34459233,"name":"python-memcached","full_name":"haypo/python-memcached","owner":{"login":"haypo","id":194129,"avatar_url":"https://avatars.githubusercontent.com/u/194129?v=3","gravatar_id":"","url":"https://api.github.com/users/haypo","html_url":"https://github.com/haypo","followers_url":"https://api.github.com/users/haypo/followers","following_url":"https://api.github.com/users/haypo/following{/other_user}","gists_url":"https://api.github.com/users/haypo/gists{/gist_id}","starred_url":"https://api.github.com/users/haypo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haypo/subscriptions","organizations_url":"https://api.github.com/users/haypo/orgs","repos_url":"https://api.github.com/users/haypo/repos","events_url":"https://api.github.com/users/haypo/events{/privacy}","received_events_url":"https://api.github.com/users/haypo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haypo/python-memcached","description":"A python memcached client library.","fork":true,"url":"https://api.github.com/repos/haypo/python-memcached","forks_url":"https://api.github.com/repos/haypo/python-memcached/forks","keys_url":"https://api.github.com/repos/haypo/python-memcached/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haypo/python-memcached/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haypo/python-memcached/teams","hooks_url":"https://api.github.com/repos/haypo/python-memcached/hooks","issue_events_url":"https://api.github.com/repos/haypo/python-memcached/issues/events{/number}","events_url":"https://api.github.com/repos/haypo/python-memcached/events","assignees_url":"https://api.github.com/repos/haypo/python-memcached/assignees{/user}","branches_url":"https://api.github.com/repos/haypo/python-memcached/branches{/branch}","tags_url":"https://api.github.com/repos/haypo/python-memcached/tags","blobs_url":"https://api.github.com/repos/haypo/python-memcached/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haypo/python-memcached/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haypo/python-memcached/git/refs{/sha}","trees_url":"https://api.github.com/repos/haypo/python-memcached/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haypo/python-memcached/statuses/{sha}","languages_url":"https://api.github.com/repos/haypo/python-memcached/languages","stargazers_url":"https://api.github.com/repos/haypo/python-memcached/stargazers","contributors_url":"https://api.github.com/repos/haypo/python-memcached/contributors","subscribers_url":"https://api.github.com/repos/haypo/python-memcached/subscribers","subscription_url":"https://api.github.com/repos/haypo/python-memcached/subscription","commits_url":"https://api.github.com/repos/haypo/python-memcached/commits{/sha}","git_commits_url":"https://api.github.com/repos/haypo/python-memcached/git/commits{/sha}","comments_url":"https://api.github.com/repos/haypo/python-memcached/comments{/number}","issue_comment_url":"https://api.github.com/repos/haypo/python-memcached/issues/comments{/number}","contents_url":"https://api.github.com/repos/haypo/python-memcached/contents/{+path}","compare_url":"https://api.github.com/repos/haypo/python-memcached/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haypo/python-memcached/merges","archive_url":"https://api.github.com/repos/haypo/python-memcached/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haypo/python-memcached/downloads","issues_url":"https://api.github.com/repos/haypo/python-memcached/issues{/number}","pulls_url":"https://api.github.com/repos/haypo/python-memcached/pulls{/number}","milestones_url":"https://api.github.com/repos/haypo/python-memcached/milestones{/number}","notifications_url":"https://api.github.com/repos/haypo/python-memcached/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haypo/python-memcached/labels{/name}","releases_url":"https://api.github.com/repos/haypo/python-memcached/releases{/id}","created_at":"2015-04-23T13:53:41Z","updated_at":"2015-06-14T07:39:27Z","pushed_at":"2015-04-23T14:15:33Z","git_url":"git://github.com/haypo/python-memcached.git","ssh_url":"git@github.com:haypo/python-memcached.git","clone_url":"https://github.com/haypo/python-memcached.git","svn_url":"https://github.com/haypo/python-memcached","homepage":null,"size":266,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"linsomniac:master","ref":"master","sha":"48e882719c7b95213bc0eae92f0ebc7c7fabd480","user":{"login":"linsomniac","id":466380,"avatar_url":"https://avatars.githubusercontent.com/u/466380?v=3","gravatar_id":"","url":"https://api.github.com/users/linsomniac","html_url":"https://github.com/linsomniac","followers_url":"https://api.github.com/users/linsomniac/followers","following_url":"https://api.github.com/users/linsomniac/following{/other_user}","gists_url":"https://api.github.com/users/linsomniac/gists{/gist_id}","starred_url":"https://api.github.com/users/linsomniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linsomniac/subscriptions","organizations_url":"https://api.github.com/users/linsomniac/orgs","repos_url":"https://api.github.com/users/linsomniac/repos","events_url":"https://api.github.com/users/linsomniac/events{/privacy}","received_events_url":"https://api.github.com/users/linsomniac/received_events","type":"User","site_admin":false},"repo":{"id":9051843,"name":"python-memcached","full_name":"linsomniac/python-memcached","owner":{"login":"linsomniac","id":466380,"avatar_url":"https://avatars.githubusercontent.com/u/466380?v=3","gravatar_id":"","url":"https://api.github.com/users/linsomniac","html_url":"https://github.com/linsomniac","followers_url":"https://api.github.com/users/linsomniac/followers","following_url":"https://api.github.com/users/linsomniac/following{/other_user}","gists_url":"https://api.github.com/users/linsomniac/gists{/gist_id}","starred_url":"https://api.github.com/users/linsomniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linsomniac/subscriptions","organizations_url":"https://api.github.com/users/linsomniac/orgs","repos_url":"https://api.github.com/users/linsomniac/repos","events_url":"https://api.github.com/users/linsomniac/events{/privacy}","received_events_url":"https://api.github.com/users/linsomniac/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/linsomniac/python-memcached","description":"A python memcached client library.","fork":false,"url":"https://api.github.com/repos/linsomniac/python-memcached","forks_url":"https://api.github.com/repos/linsomniac/python-memcached/forks","keys_url":"https://api.github.com/repos/linsomniac/python-memcached/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linsomniac/python-memcached/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linsomniac/python-memcached/teams","hooks_url":"https://api.github.com/repos/linsomniac/python-memcached/hooks","issue_events_url":"https://api.github.com/repos/linsomniac/python-memcached/issues/events{/number}","events_url":"https://api.github.com/repos/linsomniac/python-memcached/events","assignees_url":"https://api.github.com/repos/linsomniac/python-memcached/assignees{/user}","branches_url":"https://api.github.com/repos/linsomniac/python-memcached/branches{/branch}","tags_url":"https://api.github.com/repos/linsomniac/python-memcached/tags","blobs_url":"https://api.github.com/repos/linsomniac/python-memcached/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linsomniac/python-memcached/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linsomniac/python-memcached/git/refs{/sha}","trees_url":"https://api.github.com/repos/linsomniac/python-memcached/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linsomniac/python-memcached/statuses/{sha}","languages_url":"https://api.github.com/repos/linsomniac/python-memcached/languages","stargazers_url":"https://api.github.com/repos/linsomniac/python-memcached/stargazers","contributors_url":"https://api.github.com/repos/linsomniac/python-memcached/contributors","subscribers_url":"https://api.github.com/repos/linsomniac/python-memcached/subscribers","subscription_url":"https://api.github.com/repos/linsomniac/python-memcached/subscription","commits_url":"https://api.github.com/repos/linsomniac/python-memcached/commits{/sha}","git_commits_url":"https://api.github.com/repos/linsomniac/python-memcached/git/commits{/sha}","comments_url":"https://api.github.com/repos/linsomniac/python-memcached/comments{/number}","issue_comment_url":"https://api.github.com/repos/linsomniac/python-memcached/issues/comments{/number}","contents_url":"https://api.github.com/repos/linsomniac/python-memcached/contents/{+path}","compare_url":"https://api.github.com/repos/linsomniac/python-memcached/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linsomniac/python-memcached/merges","archive_url":"https://api.github.com/repos/linsomniac/python-memcached/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linsomniac/python-memcached/downloads","issues_url":"https://api.github.com/repos/linsomniac/python-memcached/issues{/number}","pulls_url":"https://api.github.com/repos/linsomniac/python-memcached/pulls{/number}","milestones_url":"https://api.github.com/repos/linsomniac/python-memcached/milestones{/number}","notifications_url":"https://api.github.com/repos/linsomniac/python-memcached/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linsomniac/python-memcached/labels{/name}","releases_url":"https://api.github.com/repos/linsomniac/python-memcached/releases{/id}","created_at":"2013-03-27T10:51:27Z","updated_at":"2015-07-18T13:55:40Z","pushed_at":"2015-07-26T20:41:16Z","git_url":"git://github.com/linsomniac/python-memcached.git","ssh_url":"git@github.com:linsomniac/python-memcached.git","clone_url":"https://github.com/linsomniac/python-memcached.git","svn_url":"https://github.com/linsomniac/python-memcached","homepage":null,"size":843,"stargazers_count":151,"watchers_count":151,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":17,"forks":71,"open_issues":17,"watchers":151,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/linsomniac/python-memcached/pulls/67"},"html":{"href":"https://github.com/linsomniac/python-memcached/pull/67"},"issue":{"href":"https://api.github.com/repos/linsomniac/python-memcached/issues/67"},"comments":{"href":"https://api.github.com/repos/linsomniac/python-memcached/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/linsomniac/python-memcached/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/linsomniac/python-memcached/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/linsomniac/python-memcached/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/linsomniac/python-memcached/statuses/04f1c78c13bd54050b1d2d3baa9e86d9e79b3629"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"linsomniac","id":466380,"avatar_url":"https://avatars.githubusercontent.com/u/466380?v=3","gravatar_id":"","url":"https://api.github.com/users/linsomniac","html_url":"https://github.com/linsomniac","followers_url":"https://api.github.com/users/linsomniac/followers","following_url":"https://api.github.com/users/linsomniac/following{/other_user}","gists_url":"https://api.github.com/users/linsomniac/gists{/gist_id}","starred_url":"https://api.github.com/users/linsomniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linsomniac/subscriptions","organizations_url":"https://api.github.com/users/linsomniac/orgs","repos_url":"https://api.github.com/users/linsomniac/repos","events_url":"https://api.github.com/users/linsomniac/events{/privacy}","received_events_url":"https://api.github.com/users/linsomniac/received_events","type":"User","site_admin":false},"comments":14,"review_comments":0,"commits":1,"additions":158,"deletions":101,"changed_files":5}}