{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/47438104","id":47438104,"diff_hunk":"@@ -43,13 +45,13 @@ def _new_instance(cls, children=None, connector=None, negated=False):\n \n     def __str__(self):\n         if self.negated:\n-            return '(NOT (%s: %s))' % (self.connector, ', '.join(str(c) for c\n-                    in self.children))\n-        return '(%s: %s)' % (self.connector, ', '.join(str(c) for c in\n-                self.children))\n+            return force_str('(NOT (%s: %s))' % (self.connector, ', '.join(force_text(c) for c\n+                    in self.children)))\n+        return force_str('(%s: %s)' % (self.connector, ', '.join(force_text(c) for c in\n+                self.children)))","path":"django/utils/tree.py","position":null,"original_position":20,"commit_id":"b067d9a4f959937082ff058cfd640e2947125435","original_commit_id":"67701e68af73da58f8f6f30ed8c08c6ae3d995e5","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":"Good suggestion.","created_at":"2015-12-12T23:14:04Z","updated_at":"2015-12-12T23:14:04Z","html_url":"https://github.com/django/django/pull/5821#discussion_r47438104","pull_request_url":"https://api.github.com/repos/django/django/pulls/5821","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/47438104"},"html":{"href":"https://github.com/django/django/pull/5821#discussion_r47438104"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/5821"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/5821","id":53486965,"html_url":"https://github.com/django/django/pull/5821","diff_url":"https://github.com/django/django/pull/5821.diff","patch_url":"https://github.com/django/django/pull/5821.patch","issue_url":"https://api.github.com/repos/django/django/issues/5821","number":5821,"state":"open","locked":false,"title":"Fixed #25875 -- Prevented UnicodeDecodeError for Q object repr","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":"Thanks Ben Kraft for the report.","created_at":"2015-12-12T22:11:29Z","updated_at":"2015-12-12T23:14:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"207ba68a978295e535f0a4ad60e04a7b3e2c75b9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/5821/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/5821/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/5821/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/b067d9a4f959937082ff058cfd640e2947125435","head":{"label":"claudep:25875","ref":"25875","sha":"b067d9a4f959937082ff058cfd640e2947125435","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":4217165,"name":"django","full_name":"claudep/django","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/django","description":"The Web framework for perfectionists with deadlines. Now on GitHub.","fork":true,"url":"https://api.github.com/repos/claudep/django","forks_url":"https://api.github.com/repos/claudep/django/forks","keys_url":"https://api.github.com/repos/claudep/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/claudep/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/claudep/django/teams","hooks_url":"https://api.github.com/repos/claudep/django/hooks","issue_events_url":"https://api.github.com/repos/claudep/django/issues/events{/number}","events_url":"https://api.github.com/repos/claudep/django/events","assignees_url":"https://api.github.com/repos/claudep/django/assignees{/user}","branches_url":"https://api.github.com/repos/claudep/django/branches{/branch}","tags_url":"https://api.github.com/repos/claudep/django/tags","blobs_url":"https://api.github.com/repos/claudep/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/claudep/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/claudep/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/claudep/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/claudep/django/statuses/{sha}","languages_url":"https://api.github.com/repos/claudep/django/languages","stargazers_url":"https://api.github.com/repos/claudep/django/stargazers","contributors_url":"https://api.github.com/repos/claudep/django/contributors","subscribers_url":"https://api.github.com/repos/claudep/django/subscribers","subscription_url":"https://api.github.com/repos/claudep/django/subscription","commits_url":"https://api.github.com/repos/claudep/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/claudep/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/claudep/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/claudep/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/claudep/django/contents/{+path}","compare_url":"https://api.github.com/repos/claudep/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/claudep/django/merges","archive_url":"https://api.github.com/repos/claudep/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/claudep/django/downloads","issues_url":"https://api.github.com/repos/claudep/django/issues{/number}","pulls_url":"https://api.github.com/repos/claudep/django/pulls{/number}","milestones_url":"https://api.github.com/repos/claudep/django/milestones{/number}","notifications_url":"https://api.github.com/repos/claudep/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/claudep/django/labels{/name}","releases_url":"https://api.github.com/repos/claudep/django/releases{/id}","created_at":"2012-05-03T18:20:44Z","updated_at":"2015-04-24T14:29:13Z","pushed_at":"2015-12-12T23:11:56Z","git_url":"git://github.com/claudep/django.git","ssh_url":"git@github.com:claudep/django.git","clone_url":"https://github.com/claudep/django.git","svn_url":"https://github.com/claudep/django","homepage":"http://www.djangoproject.com/","size":112075,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"django:master","ref":"master","sha":"d693074d431c50e4801dd6bf52525ce1436358f0","user":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"repo":{"id":4164482,"name":"django","full_name":"django/django","owner":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django/django","description":"The Web framework for perfectionists with deadlines.","fork":false,"url":"https://api.github.com/repos/django/django","forks_url":"https://api.github.com/repos/django/django/forks","keys_url":"https://api.github.com/repos/django/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django/django/teams","hooks_url":"https://api.github.com/repos/django/django/hooks","issue_events_url":"https://api.github.com/repos/django/django/issues/events{/number}","events_url":"https://api.github.com/repos/django/django/events","assignees_url":"https://api.github.com/repos/django/django/assignees{/user}","branches_url":"https://api.github.com/repos/django/django/branches{/branch}","tags_url":"https://api.github.com/repos/django/django/tags","blobs_url":"https://api.github.com/repos/django/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/django/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django/django/statuses/{sha}","languages_url":"https://api.github.com/repos/django/django/languages","stargazers_url":"https://api.github.com/repos/django/django/stargazers","contributors_url":"https://api.github.com/repos/django/django/contributors","subscribers_url":"https://api.github.com/repos/django/django/subscribers","subscription_url":"https://api.github.com/repos/django/django/subscription","commits_url":"https://api.github.com/repos/django/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/django/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/django/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/django/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/django/django/contents/{+path}","compare_url":"https://api.github.com/repos/django/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django/django/merges","archive_url":"https://api.github.com/repos/django/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django/django/downloads","issues_url":"https://api.github.com/repos/django/django/issues{/number}","pulls_url":"https://api.github.com/repos/django/django/pulls{/number}","milestones_url":"https://api.github.com/repos/django/django/milestones{/number}","notifications_url":"https://api.github.com/repos/django/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django/django/labels{/name}","releases_url":"https://api.github.com/repos/django/django/releases{/id}","created_at":"2012-04-28T02:47:18Z","updated_at":"2015-12-12T20:55:07Z","pushed_at":"2015-12-12T23:11:57Z","git_url":"git://github.com/django/django.git","ssh_url":"git@github.com:django/django.git","clone_url":"https://github.com/django/django.git","svn_url":"https://github.com/django/django","homepage":"https://www.djangoproject.com/","size":176610,"stargazers_count":17092,"watchers_count":17092,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6973,"mirror_url":null,"open_issues_count":115,"forks":6973,"open_issues":115,"watchers":17092,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/5821"},"html":{"href":"https://github.com/django/django/pull/5821"},"issue":{"href":"https://api.github.com/repos/django/django/issues/5821"},"comments":{"href":"https://api.github.com/repos/django/django/issues/5821/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/5821/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/5821/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/b067d9a4f959937082ff058cfd640e2947125435"}}}}