{"action":"created","comment":{"url":"https://api.github.com/repos/keleshev/schema/pulls/comments/40177121","id":40177121,"diff_hunk":"@@ -13,9 +13,7 @@ def __init__(self, autos, errors):\n     @property\n     def code(self):\n         def uniq(seq):\n-            seen = set()\n-            seen_add = seen.add\n-            return [x for x in seq if x not in seen and not seen_add(x)]\n+            return list(set(seq))","path":"schema.py","position":7,"original_position":7,"commit_id":"1f889a84a457bdf4d600f7e6deedc4cc16b112a0","original_commit_id":"1f889a84a457bdf4d600f7e6deedc4cc16b112a0","user":{"login":"keleshev","id":619158,"avatar_url":"https://avatars.githubusercontent.com/u/619158?v=3","gravatar_id":"","url":"https://api.github.com/users/keleshev","html_url":"https://github.com/keleshev","followers_url":"https://api.github.com/users/keleshev/followers","following_url":"https://api.github.com/users/keleshev/following{/other_user}","gists_url":"https://api.github.com/users/keleshev/gists{/gist_id}","starred_url":"https://api.github.com/users/keleshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keleshev/subscriptions","organizations_url":"https://api.github.com/users/keleshev/orgs","repos_url":"https://api.github.com/users/keleshev/repos","events_url":"https://api.github.com/users/keleshev/events{/privacy}","received_events_url":"https://api.github.com/users/keleshev/received_events","type":"User","site_admin":false},"body":"A better name for this would be `stable_unique`, then the confusion would not arouse.","created_at":"2015-09-23T07:38:45Z","updated_at":"2015-09-23T07:38:45Z","html_url":"https://github.com/keleshev/schema/pull/74#discussion_r40177121","pull_request_url":"https://api.github.com/repos/keleshev/schema/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/keleshev/schema/pulls/comments/40177121"},"html":{"href":"https://github.com/keleshev/schema/pull/74#discussion_r40177121"},"pull_request":{"href":"https://api.github.com/repos/keleshev/schema/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/keleshev/schema/pulls/74","id":45696802,"html_url":"https://github.com/keleshev/schema/pull/74","diff_url":"https://github.com/keleshev/schema/pull/74.diff","patch_url":"https://github.com/keleshev/schema/pull/74.patch","issue_url":"https://api.github.com/repos/keleshev/schema/issues/74","number":74,"state":"closed","locked":false,"title":"Simplify uniq.","user":{"login":"skorokithakis","id":23648,"avatar_url":"https://avatars.githubusercontent.com/u/23648?v=3","gravatar_id":"","url":"https://api.github.com/users/skorokithakis","html_url":"https://github.com/skorokithakis","followers_url":"https://api.github.com/users/skorokithakis/followers","following_url":"https://api.github.com/users/skorokithakis/following{/other_user}","gists_url":"https://api.github.com/users/skorokithakis/gists{/gist_id}","starred_url":"https://api.github.com/users/skorokithakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skorokithakis/subscriptions","organizations_url":"https://api.github.com/users/skorokithakis/orgs","repos_url":"https://api.github.com/users/skorokithakis/repos","events_url":"https://api.github.com/users/skorokithakis/events{/privacy}","received_events_url":"https://api.github.com/users/skorokithakis/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-22T18:08:01Z","updated_at":"2015-09-23T07:38:45Z","closed_at":"2015-09-22T18:19:51Z","merged_at":null,"merge_commit_sha":"3766a2be986ae213e3f182f71298b5dc9b8cbd82","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/keleshev/schema/pulls/74/commits","review_comments_url":"https://api.github.com/repos/keleshev/schema/pulls/74/comments","review_comment_url":"https://api.github.com/repos/keleshev/schema/pulls/comments{/number}","comments_url":"https://api.github.com/repos/keleshev/schema/issues/74/comments","statuses_url":"https://api.github.com/repos/keleshev/schema/statuses/1f889a84a457bdf4d600f7e6deedc4cc16b112a0","head":{"label":"skorokithakis:master","ref":"master","sha":"1f889a84a457bdf4d600f7e6deedc4cc16b112a0","user":{"login":"skorokithakis","id":23648,"avatar_url":"https://avatars.githubusercontent.com/u/23648?v=3","gravatar_id":"","url":"https://api.github.com/users/skorokithakis","html_url":"https://github.com/skorokithakis","followers_url":"https://api.github.com/users/skorokithakis/followers","following_url":"https://api.github.com/users/skorokithakis/following{/other_user}","gists_url":"https://api.github.com/users/skorokithakis/gists{/gist_id}","starred_url":"https://api.github.com/users/skorokithakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skorokithakis/subscriptions","organizations_url":"https://api.github.com/users/skorokithakis/orgs","repos_url":"https://api.github.com/users/skorokithakis/repos","events_url":"https://api.github.com/users/skorokithakis/events{/privacy}","received_events_url":"https://api.github.com/users/skorokithakis/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"keleshev:master","ref":"master","sha":"e5c489cbbbbb8671ee32c43d518fea0076563da4","user":{"login":"keleshev","id":619158,"avatar_url":"https://avatars.githubusercontent.com/u/619158?v=3","gravatar_id":"","url":"https://api.github.com/users/keleshev","html_url":"https://github.com/keleshev","followers_url":"https://api.github.com/users/keleshev/followers","following_url":"https://api.github.com/users/keleshev/following{/other_user}","gists_url":"https://api.github.com/users/keleshev/gists{/gist_id}","starred_url":"https://api.github.com/users/keleshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keleshev/subscriptions","organizations_url":"https://api.github.com/users/keleshev/orgs","repos_url":"https://api.github.com/users/keleshev/repos","events_url":"https://api.github.com/users/keleshev/events{/privacy}","received_events_url":"https://api.github.com/users/keleshev/received_events","type":"User","site_admin":false},"repo":{"id":5473383,"name":"schema","full_name":"keleshev/schema","owner":{"login":"keleshev","id":619158,"avatar_url":"https://avatars.githubusercontent.com/u/619158?v=3","gravatar_id":"","url":"https://api.github.com/users/keleshev","html_url":"https://github.com/keleshev","followers_url":"https://api.github.com/users/keleshev/followers","following_url":"https://api.github.com/users/keleshev/following{/other_user}","gists_url":"https://api.github.com/users/keleshev/gists{/gist_id}","starred_url":"https://api.github.com/users/keleshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keleshev/subscriptions","organizations_url":"https://api.github.com/users/keleshev/orgs","repos_url":"https://api.github.com/users/keleshev/repos","events_url":"https://api.github.com/users/keleshev/events{/privacy}","received_events_url":"https://api.github.com/users/keleshev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/keleshev/schema","description":"Schema validation just got Pythonic","fork":false,"url":"https://api.github.com/repos/keleshev/schema","forks_url":"https://api.github.com/repos/keleshev/schema/forks","keys_url":"https://api.github.com/repos/keleshev/schema/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keleshev/schema/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keleshev/schema/teams","hooks_url":"https://api.github.com/repos/keleshev/schema/hooks","issue_events_url":"https://api.github.com/repos/keleshev/schema/issues/events{/number}","events_url":"https://api.github.com/repos/keleshev/schema/events","assignees_url":"https://api.github.com/repos/keleshev/schema/assignees{/user}","branches_url":"https://api.github.com/repos/keleshev/schema/branches{/branch}","tags_url":"https://api.github.com/repos/keleshev/schema/tags","blobs_url":"https://api.github.com/repos/keleshev/schema/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keleshev/schema/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keleshev/schema/git/refs{/sha}","trees_url":"https://api.github.com/repos/keleshev/schema/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keleshev/schema/statuses/{sha}","languages_url":"https://api.github.com/repos/keleshev/schema/languages","stargazers_url":"https://api.github.com/repos/keleshev/schema/stargazers","contributors_url":"https://api.github.com/repos/keleshev/schema/contributors","subscribers_url":"https://api.github.com/repos/keleshev/schema/subscribers","subscription_url":"https://api.github.com/repos/keleshev/schema/subscription","commits_url":"https://api.github.com/repos/keleshev/schema/commits{/sha}","git_commits_url":"https://api.github.com/repos/keleshev/schema/git/commits{/sha}","comments_url":"https://api.github.com/repos/keleshev/schema/comments{/number}","issue_comment_url":"https://api.github.com/repos/keleshev/schema/issues/comments{/number}","contents_url":"https://api.github.com/repos/keleshev/schema/contents/{+path}","compare_url":"https://api.github.com/repos/keleshev/schema/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keleshev/schema/merges","archive_url":"https://api.github.com/repos/keleshev/schema/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keleshev/schema/downloads","issues_url":"https://api.github.com/repos/keleshev/schema/issues{/number}","pulls_url":"https://api.github.com/repos/keleshev/schema/pulls{/number}","milestones_url":"https://api.github.com/repos/keleshev/schema/milestones{/number}","notifications_url":"https://api.github.com/repos/keleshev/schema/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keleshev/schema/labels{/name}","releases_url":"https://api.github.com/repos/keleshev/schema/releases{/id}","created_at":"2012-08-19T18:56:20Z","updated_at":"2015-09-20T15:38:54Z","pushed_at":"2015-09-23T05:21:07Z","git_url":"git://github.com/keleshev/schema.git","ssh_url":"git@github.com:keleshev/schema.git","clone_url":"https://github.com/keleshev/schema.git","svn_url":"https://github.com/keleshev/schema","homepage":"","size":543,"stargazers_count":630,"watchers_count":630,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":35,"forks":58,"open_issues":35,"watchers":630,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keleshev/schema/pulls/74"},"html":{"href":"https://github.com/keleshev/schema/pull/74"},"issue":{"href":"https://api.github.com/repos/keleshev/schema/issues/74"},"comments":{"href":"https://api.github.com/repos/keleshev/schema/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/keleshev/schema/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/keleshev/schema/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/keleshev/schema/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/keleshev/schema/statuses/1f889a84a457bdf4d600f7e6deedc4cc16b112a0"}}}}