{"action":"created","comment":{"url":"https://api.github.com/repos/translate/translate/pulls/comments/37704848","id":37704848,"diff_hunk":"@@ -64,9 +61,6 @@ def __str__(self):\n             msg += ' with template %s' % (self.templ_ext)\n         return msg\n \n-    def __unicode__(self):\n-        return unicode(str(self))","path":"translate/convert/factory.py","position":15,"original_position":15,"commit_id":"ecb27b41722b944206d42359b3abf31f51d97369","original_commit_id":"ecb27b41722b944206d42359b3abf31f51d97369","user":{"login":"unho","id":939880,"avatar_url":"https://avatars.githubusercontent.com/u/939880?v=3","gravatar_id":"","url":"https://api.github.com/users/unho","html_url":"https://github.com/unho","followers_url":"https://api.github.com/users/unho/followers","following_url":"https://api.github.com/users/unho/following{/other_user}","gists_url":"https://api.github.com/users/unho/gists{/gist_id}","starred_url":"https://api.github.com/users/unho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unho/subscriptions","organizations_url":"https://api.github.com/users/unho/orgs","repos_url":"https://api.github.com/users/unho/repos","events_url":"https://api.github.com/users/unho/events{/privacy}","received_events_url":"https://api.github.com/users/unho/received_events","type":"User","site_admin":false},"body":"Just wondering if these should be adjusted to use `@six.python_2_unicode_compatible` as done below.","created_at":"2015-08-23T11:04:44Z","updated_at":"2015-08-23T11:04:44Z","html_url":"https://github.com/translate/translate/pull/3298#discussion_r37704848","pull_request_url":"https://api.github.com/repos/translate/translate/pulls/3298","_links":{"self":{"href":"https://api.github.com/repos/translate/translate/pulls/comments/37704848"},"html":{"href":"https://github.com/translate/translate/pull/3298#discussion_r37704848"},"pull_request":{"href":"https://api.github.com/repos/translate/translate/pulls/3298"}}},"pull_request":{"url":"https://api.github.com/repos/translate/translate/pulls/3298","id":43078832,"html_url":"https://github.com/translate/translate/pull/3298","diff_url":"https://github.com/translate/translate/pull/3298.diff","patch_url":"https://github.com/translate/translate/pull/3298.patch","issue_url":"https://api.github.com/repos/translate/translate/issues/3298","number":3298,"state":"open","locked":false,"title":"Replaced unicode by six.text_type","user":{"login":"claudep","id":143192,"avatar_url":"https://avatars.githubusercontent.com/u/143192?v=3","gravatar_id":"","url":"https://api.github.com/users/claudep","html_url":"https://github.com/claudep","followers_url":"https://api.github.com/users/claudep/followers","following_url":"https://api.github.com/users/claudep/following{/other_user}","gists_url":"https://api.github.com/users/claudep/gists{/gist_id}","starred_url":"https://api.github.com/users/claudep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudep/subscriptions","organizations_url":"https://api.github.com/users/claudep/orgs","repos_url":"https://api.github.com/users/claudep/repos","events_url":"https://api.github.com/users/claudep/events{/privacy}","received_events_url":"https://api.github.com/users/claudep/received_events","type":"User","site_admin":false},"body":"\"unicode\" does not exist any longer in Python 3 (as literals are\r\nunicode by default).","created_at":"2015-08-21T20:41:08Z","updated_at":"2015-08-23T11:04:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9baf2ecb6148a60f92fa1ed62232394f71dac9d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/translate/translate/pulls/3298/commits","review_comments_url":"https://api.github.com/repos/translate/translate/pulls/3298/comments","review_comment_url":"https://api.github.com/repos/translate/translate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/translate/translate/issues/3298/comments","statuses_url":"https://api.github.com/repos/translate/translate/statuses/ecb27b41722b944206d42359b3abf31f51d97369","head":{"label":"claudep:text_type","ref":"text_type","sha":"ecb27b41722b944206d42359b3abf31f51d97369","user":{"login":"claudep","id":143192,"avatar_url":"https://avatars.githubusercontent.com/u/143192?v=3","gravatar_id":"","url":"https://api.github.com/users/claudep","html_url":"https://github.com/claudep","followers_url":"https://api.github.com/users/claudep/followers","following_url":"https://api.github.com/users/claudep/following{/other_user}","gists_url":"https://api.github.com/users/claudep/gists{/gist_id}","starred_url":"https://api.github.com/users/claudep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudep/subscriptions","organizations_url":"https://api.github.com/users/claudep/orgs","repos_url":"https://api.github.com/users/claudep/repos","events_url":"https://api.github.com/users/claudep/events{/privacy}","received_events_url":"https://api.github.com/users/claudep/received_events","type":"User","site_admin":false},"repo":{"id":40787088,"name":"translate","full_name":"claudep/translate","owner":{"login":"claudep","id":143192,"avatar_url":"https://avatars.githubusercontent.com/u/143192?v=3","gravatar_id":"","url":"https://api.github.com/users/claudep","html_url":"https://github.com/claudep","followers_url":"https://api.github.com/users/claudep/followers","following_url":"https://api.github.com/users/claudep/following{/other_user}","gists_url":"https://api.github.com/users/claudep/gists{/gist_id}","starred_url":"https://api.github.com/users/claudep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudep/subscriptions","organizations_url":"https://api.github.com/users/claudep/orgs","repos_url":"https://api.github.com/users/claudep/repos","events_url":"https://api.github.com/users/claudep/events{/privacy}","received_events_url":"https://api.github.com/users/claudep/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/claudep/translate","description":"Useful localization tools with Python API for building localization & translation systems","fork":true,"url":"https://api.github.com/repos/claudep/translate","forks_url":"https://api.github.com/repos/claudep/translate/forks","keys_url":"https://api.github.com/repos/claudep/translate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/claudep/translate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/claudep/translate/teams","hooks_url":"https://api.github.com/repos/claudep/translate/hooks","issue_events_url":"https://api.github.com/repos/claudep/translate/issues/events{/number}","events_url":"https://api.github.com/repos/claudep/translate/events","assignees_url":"https://api.github.com/repos/claudep/translate/assignees{/user}","branches_url":"https://api.github.com/repos/claudep/translate/branches{/branch}","tags_url":"https://api.github.com/repos/claudep/translate/tags","blobs_url":"https://api.github.com/repos/claudep/translate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/claudep/translate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/claudep/translate/git/refs{/sha}","trees_url":"https://api.github.com/repos/claudep/translate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/claudep/translate/statuses/{sha}","languages_url":"https://api.github.com/repos/claudep/translate/languages","stargazers_url":"https://api.github.com/repos/claudep/translate/stargazers","contributors_url":"https://api.github.com/repos/claudep/translate/contributors","subscribers_url":"https://api.github.com/repos/claudep/translate/subscribers","subscription_url":"https://api.github.com/repos/claudep/translate/subscription","commits_url":"https://api.github.com/repos/claudep/translate/commits{/sha}","git_commits_url":"https://api.github.com/repos/claudep/translate/git/commits{/sha}","comments_url":"https://api.github.com/repos/claudep/translate/comments{/number}","issue_comment_url":"https://api.github.com/repos/claudep/translate/issues/comments{/number}","contents_url":"https://api.github.com/repos/claudep/translate/contents/{+path}","compare_url":"https://api.github.com/repos/claudep/translate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/claudep/translate/merges","archive_url":"https://api.github.com/repos/claudep/translate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/claudep/translate/downloads","issues_url":"https://api.github.com/repos/claudep/translate/issues{/number}","pulls_url":"https://api.github.com/repos/claudep/translate/pulls{/number}","milestones_url":"https://api.github.com/repos/claudep/translate/milestones{/number}","notifications_url":"https://api.github.com/repos/claudep/translate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/claudep/translate/labels{/name}","releases_url":"https://api.github.com/repos/claudep/translate/releases{/id}","created_at":"2015-08-15T21:48:10Z","updated_at":"2015-08-15T21:48:12Z","pushed_at":"2015-08-22T18:08:46Z","git_url":"git://github.com/claudep/translate.git","ssh_url":"git@github.com:claudep/translate.git","clone_url":"https://github.com/claudep/translate.git","svn_url":"https://github.com/claudep/translate","homepage":"http://toolkit.translatehouse.org","size":29173,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"translate:master","ref":"master","sha":"cd4864dfb654b795009f2e583aa10e54cc77efc7","user":{"login":"translate","id":1538178,"avatar_url":"https://avatars.githubusercontent.com/u/1538178?v=3","gravatar_id":"","url":"https://api.github.com/users/translate","html_url":"https://github.com/translate","followers_url":"https://api.github.com/users/translate/followers","following_url":"https://api.github.com/users/translate/following{/other_user}","gists_url":"https://api.github.com/users/translate/gists{/gist_id}","starred_url":"https://api.github.com/users/translate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/translate/subscriptions","organizations_url":"https://api.github.com/users/translate/orgs","repos_url":"https://api.github.com/users/translate/repos","events_url":"https://api.github.com/users/translate/events{/privacy}","received_events_url":"https://api.github.com/users/translate/received_events","type":"Organization","site_admin":false},"repo":{"id":3769696,"name":"translate","full_name":"translate/translate","owner":{"login":"translate","id":1538178,"avatar_url":"https://avatars.githubusercontent.com/u/1538178?v=3","gravatar_id":"","url":"https://api.github.com/users/translate","html_url":"https://github.com/translate","followers_url":"https://api.github.com/users/translate/followers","following_url":"https://api.github.com/users/translate/following{/other_user}","gists_url":"https://api.github.com/users/translate/gists{/gist_id}","starred_url":"https://api.github.com/users/translate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/translate/subscriptions","organizations_url":"https://api.github.com/users/translate/orgs","repos_url":"https://api.github.com/users/translate/repos","events_url":"https://api.github.com/users/translate/events{/privacy}","received_events_url":"https://api.github.com/users/translate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/translate/translate","description":"Useful localization tools with Python API for building localization & translation systems","fork":false,"url":"https://api.github.com/repos/translate/translate","forks_url":"https://api.github.com/repos/translate/translate/forks","keys_url":"https://api.github.com/repos/translate/translate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/translate/translate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/translate/translate/teams","hooks_url":"https://api.github.com/repos/translate/translate/hooks","issue_events_url":"https://api.github.com/repos/translate/translate/issues/events{/number}","events_url":"https://api.github.com/repos/translate/translate/events","assignees_url":"https://api.github.com/repos/translate/translate/assignees{/user}","branches_url":"https://api.github.com/repos/translate/translate/branches{/branch}","tags_url":"https://api.github.com/repos/translate/translate/tags","blobs_url":"https://api.github.com/repos/translate/translate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/translate/translate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/translate/translate/git/refs{/sha}","trees_url":"https://api.github.com/repos/translate/translate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/translate/translate/statuses/{sha}","languages_url":"https://api.github.com/repos/translate/translate/languages","stargazers_url":"https://api.github.com/repos/translate/translate/stargazers","contributors_url":"https://api.github.com/repos/translate/translate/contributors","subscribers_url":"https://api.github.com/repos/translate/translate/subscribers","subscription_url":"https://api.github.com/repos/translate/translate/subscription","commits_url":"https://api.github.com/repos/translate/translate/commits{/sha}","git_commits_url":"https://api.github.com/repos/translate/translate/git/commits{/sha}","comments_url":"https://api.github.com/repos/translate/translate/comments{/number}","issue_comment_url":"https://api.github.com/repos/translate/translate/issues/comments{/number}","contents_url":"https://api.github.com/repos/translate/translate/contents/{+path}","compare_url":"https://api.github.com/repos/translate/translate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/translate/translate/merges","archive_url":"https://api.github.com/repos/translate/translate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/translate/translate/downloads","issues_url":"https://api.github.com/repos/translate/translate/issues{/number}","pulls_url":"https://api.github.com/repos/translate/translate/pulls{/number}","milestones_url":"https://api.github.com/repos/translate/translate/milestones{/number}","notifications_url":"https://api.github.com/repos/translate/translate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/translate/translate/labels{/name}","releases_url":"https://api.github.com/repos/translate/translate/releases{/id}","created_at":"2012-03-19T23:05:29Z","updated_at":"2015-08-20T21:39:49Z","pushed_at":"2015-08-23T10:29:38Z","git_url":"git://github.com/translate/translate.git","ssh_url":"git@github.com:translate/translate.git","clone_url":"https://github.com/translate/translate.git","svn_url":"https://github.com/translate/translate","homepage":"http://toolkit.translatehouse.org","size":32315,"stargazers_count":170,"watchers_count":170,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":92,"mirror_url":null,"open_issues_count":313,"forks":92,"open_issues":313,"watchers":170,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/translate/translate/pulls/3298"},"html":{"href":"https://github.com/translate/translate/pull/3298"},"issue":{"href":"https://api.github.com/repos/translate/translate/issues/3298"},"comments":{"href":"https://api.github.com/repos/translate/translate/issues/3298/comments"},"review_comments":{"href":"https://api.github.com/repos/translate/translate/pulls/3298/comments"},"review_comment":{"href":"https://api.github.com/repos/translate/translate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/translate/translate/pulls/3298/commits"},"statuses":{"href":"https://api.github.com/repos/translate/translate/statuses/ecb27b41722b944206d42359b3abf31f51d97369"}}}}