{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/37168881","id":37168881,"diff_hunk":"@@ -69,8 +79,9 @@ def dummy(*args, **kwargs):\n             return obj\n \n         return _wrapper\n-\n-    update_wrapper(_dec, decorator, assigned=available_attrs(decorator))\n+    # we really don't care to make _dec look similar to an iterable, it is rather meaningless","path":"django/utils/decorators.py","position":35,"original_position":35,"commit_id":"3ed606904cf00bdb5ed90b21cdb054e20dd7e81f","original_commit_id":"3ed606904cf00bdb5ed90b21cdb054e20dd7e81f","user":{"login":"zauddelig","id":5260501,"avatar_url":"https://avatars.githubusercontent.com/u/5260501?v=3","gravatar_id":"","url":"https://api.github.com/users/zauddelig","html_url":"https://github.com/zauddelig","followers_url":"https://api.github.com/users/zauddelig/followers","following_url":"https://api.github.com/users/zauddelig/following{/other_user}","gists_url":"https://api.github.com/users/zauddelig/gists{/gist_id}","starred_url":"https://api.github.com/users/zauddelig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zauddelig/subscriptions","organizations_url":"https://api.github.com/users/zauddelig/orgs","repos_url":"https://api.github.com/users/zauddelig/repos","events_url":"https://api.github.com/users/zauddelig/events{/privacy}","received_events_url":"https://api.github.com/users/zauddelig/received_events","type":"User","site_admin":false},"body":"I had skipped previously this way, in case decorator has ``__iter__``, we just skip ``update_wrapper()`` on ``_dec()`` it since it as became meaningless.","created_at":"2015-08-17T08:57:06Z","updated_at":"2015-08-17T08:57:06Z","html_url":"https://github.com/django/django/pull/5136#discussion_r37168881","pull_request_url":"https://api.github.com/repos/django/django/pulls/5136","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/37168881"},"html":{"href":"https://github.com/django/django/pull/5136#discussion_r37168881"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/5136"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/5136","id":42445989,"html_url":"https://github.com/django/django/pull/5136","diff_url":"https://github.com/django/django/pull/5136.diff","patch_url":"https://github.com/django/django/pull/5136.patch","issue_url":"https://api.github.com/repos/django/django/issues/5136","number":5136,"state":"open","locked":false,"title":"Fixed #25269 -- Allowed method_decorator() to accept an iterable of decorators","user":{"login":"zauddelig","id":5260501,"avatar_url":"https://avatars.githubusercontent.com/u/5260501?v=3","gravatar_id":"","url":"https://api.github.com/users/zauddelig","html_url":"https://github.com/zauddelig","followers_url":"https://api.github.com/users/zauddelig/followers","following_url":"https://api.github.com/users/zauddelig/following{/other_user}","gists_url":"https://api.github.com/users/zauddelig/gists{/gist_id}","starred_url":"https://api.github.com/users/zauddelig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zauddelig/subscriptions","organizations_url":"https://api.github.com/users/zauddelig/orgs","repos_url":"https://api.github.com/users/zauddelig/repos","events_url":"https://api.github.com/users/zauddelig/events{/privacy}","received_events_url":"https://api.github.com/users/zauddelig/received_events","type":"User","site_admin":false},"body":"ticket: https://code.djangoproject.com/ticket/25269\r\n(updated from https://github.com/django/django/pull/5134)\r\n","created_at":"2015-08-14T11:17:32Z","updated_at":"2015-08-17T08:57:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6cad860a953ee024263ce3f78e74d1a3dfcae896","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/5136/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/5136/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/5136/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/3ed606904cf00bdb5ed90b21cdb054e20dd7e81f","head":{"label":"zauddelig:master","ref":"master","sha":"3ed606904cf00bdb5ed90b21cdb054e20dd7e81f","user":{"login":"zauddelig","id":5260501,"avatar_url":"https://avatars.githubusercontent.com/u/5260501?v=3","gravatar_id":"","url":"https://api.github.com/users/zauddelig","html_url":"https://github.com/zauddelig","followers_url":"https://api.github.com/users/zauddelig/followers","following_url":"https://api.github.com/users/zauddelig/following{/other_user}","gists_url":"https://api.github.com/users/zauddelig/gists{/gist_id}","starred_url":"https://api.github.com/users/zauddelig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zauddelig/subscriptions","organizations_url":"https://api.github.com/users/zauddelig/orgs","repos_url":"https://api.github.com/users/zauddelig/repos","events_url":"https://api.github.com/users/zauddelig/events{/privacy}","received_events_url":"https://api.github.com/users/zauddelig/received_events","type":"User","site_admin":false},"repo":{"id":24590609,"name":"django","full_name":"zauddelig/django","owner":{"login":"zauddelig","id":5260501,"avatar_url":"https://avatars.githubusercontent.com/u/5260501?v=3","gravatar_id":"","url":"https://api.github.com/users/zauddelig","html_url":"https://github.com/zauddelig","followers_url":"https://api.github.com/users/zauddelig/followers","following_url":"https://api.github.com/users/zauddelig/following{/other_user}","gists_url":"https://api.github.com/users/zauddelig/gists{/gist_id}","starred_url":"https://api.github.com/users/zauddelig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zauddelig/subscriptions","organizations_url":"https://api.github.com/users/zauddelig/orgs","repos_url":"https://api.github.com/users/zauddelig/repos","events_url":"https://api.github.com/users/zauddelig/events{/privacy}","received_events_url":"https://api.github.com/users/zauddelig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zauddelig/django","description":"The Web framework for perfectionists with deadlines.","fork":true,"url":"https://api.github.com/repos/zauddelig/django","forks_url":"https://api.github.com/repos/zauddelig/django/forks","keys_url":"https://api.github.com/repos/zauddelig/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zauddelig/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zauddelig/django/teams","hooks_url":"https://api.github.com/repos/zauddelig/django/hooks","issue_events_url":"https://api.github.com/repos/zauddelig/django/issues/events{/number}","events_url":"https://api.github.com/repos/zauddelig/django/events","assignees_url":"https://api.github.com/repos/zauddelig/django/assignees{/user}","branches_url":"https://api.github.com/repos/zauddelig/django/branches{/branch}","tags_url":"https://api.github.com/repos/zauddelig/django/tags","blobs_url":"https://api.github.com/repos/zauddelig/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zauddelig/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zauddelig/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/zauddelig/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zauddelig/django/statuses/{sha}","languages_url":"https://api.github.com/repos/zauddelig/django/languages","stargazers_url":"https://api.github.com/repos/zauddelig/django/stargazers","contributors_url":"https://api.github.com/repos/zauddelig/django/contributors","subscribers_url":"https://api.github.com/repos/zauddelig/django/subscribers","subscription_url":"https://api.github.com/repos/zauddelig/django/subscription","commits_url":"https://api.github.com/repos/zauddelig/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/zauddelig/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/zauddelig/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/zauddelig/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/zauddelig/django/contents/{+path}","compare_url":"https://api.github.com/repos/zauddelig/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zauddelig/django/merges","archive_url":"https://api.github.com/repos/zauddelig/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zauddelig/django/downloads","issues_url":"https://api.github.com/repos/zauddelig/django/issues{/number}","pulls_url":"https://api.github.com/repos/zauddelig/django/pulls{/number}","milestones_url":"https://api.github.com/repos/zauddelig/django/milestones{/number}","notifications_url":"https://api.github.com/repos/zauddelig/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zauddelig/django/labels{/name}","releases_url":"https://api.github.com/repos/zauddelig/django/releases{/id}","created_at":"2014-09-29T10:42:04Z","updated_at":"2015-08-11T11:05:35Z","pushed_at":"2015-08-17T08:53:45Z","git_url":"git://github.com/zauddelig/django.git","ssh_url":"git@github.com:zauddelig/django.git","clone_url":"https://github.com/zauddelig/django.git","svn_url":"https://github.com/zauddelig/django","homepage":"https://www.djangoproject.com/","size":143594,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"django:master","ref":"master","sha":"52a190b65781f8dc07abd230aaf9043fbdbf4fba","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-08-17T08:06:03Z","pushed_at":"2015-08-17T08:53:49Z","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":300064,"stargazers_count":15557,"watchers_count":15557,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6212,"mirror_url":null,"open_issues_count":69,"forks":6212,"open_issues":69,"watchers":15557,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/5136"},"html":{"href":"https://github.com/django/django/pull/5136"},"issue":{"href":"https://api.github.com/repos/django/django/issues/5136"},"comments":{"href":"https://api.github.com/repos/django/django/issues/5136/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/5136/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/5136/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/3ed606904cf00bdb5ed90b21cdb054e20dd7e81f"}}}}