{"action":"created","comment":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/comments/59946188","id":59946188,"diff_hunk":"@@ -37,6 +37,12 @@ def isgeneratorfunction(func):\n         logging.warn('This fail is weird, is %r a generator?', func)\n         return False\n \n+\n+def iscoroutinefunction(func):\n+    \"\"\"Check if function is an asyncio.coroutine.\"\"\"\n+    return getattr(func, '_is_coroutine', False)","path":"sphinx/util/inspect.py","position":null,"original_position":7,"commit_id":"2a262369717376624c4334c3c358bb81eda1433b","original_commit_id":"2a262369717376624c4334c3c358bb81eda1433b","user":{"login":"agronholm","id":130003,"avatar_url":"https://avatars.githubusercontent.com/u/130003?v=3","gravatar_id":"","url":"https://api.github.com/users/agronholm","html_url":"https://github.com/agronholm","followers_url":"https://api.github.com/users/agronholm/followers","following_url":"https://api.github.com/users/agronholm/following{/other_user}","gists_url":"https://api.github.com/users/agronholm/gists{/gist_id}","starred_url":"https://api.github.com/users/agronholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agronholm/subscriptions","organizations_url":"https://api.github.com/users/agronholm/orgs","repos_url":"https://api.github.com/users/agronholm/repos","events_url":"https://api.github.com/users/agronholm/events{/privacy}","received_events_url":"https://api.github.com/users/agronholm/received_events","type":"User","site_admin":false},"body":"You do understand that native coroutines do not have this attribute, right?","created_at":"2016-04-15T21:49:43Z","updated_at":"2016-04-15T21:49:43Z","html_url":"https://github.com/sphinx-doc/sphinx/pull/1826#discussion_r59946188","pull_request_url":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/1826","_links":{"self":{"href":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/comments/59946188"},"html":{"href":"https://github.com/sphinx-doc/sphinx/pull/1826#discussion_r59946188"},"pull_request":{"href":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/1826"}}},"pull_request":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/1826","id":32429031,"html_url":"https://github.com/sphinx-doc/sphinx/pull/1826","diff_url":"https://github.com/sphinx-doc/sphinx/pull/1826.diff","patch_url":"https://github.com/sphinx-doc/sphinx/pull/1826.patch","issue_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/1826","number":1826,"state":"open","locked":false,"title":"Document yielding","user":{"login":"johnnoone","id":81812,"avatar_url":"https://avatars.githubusercontent.com/u/81812?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnoone","html_url":"https://github.com/johnnoone","followers_url":"https://api.github.com/users/johnnoone/followers","following_url":"https://api.github.com/users/johnnoone/following{/other_user}","gists_url":"https://api.github.com/users/johnnoone/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnoone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnoone/subscriptions","organizations_url":"https://api.github.com/users/johnnoone/orgs","repos_url":"https://api.github.com/users/johnnoone/repos","events_url":"https://api.github.com/users/johnnoone/events{/privacy}","received_events_url":"https://api.github.com/users/johnnoone/received_events","type":"User","site_admin":false},"body":"this PR implements generator in the python domains, and asyncio directives in an ext module.","created_at":"2015-04-01T15:19:17Z","updated_at":"2016-04-15T21:49:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eef4cee576b6a261a9858356d8a5f2af9e167ddb","assignee":null,"milestone":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/milestones/16","html_url":"https://github.com/sphinx-doc/sphinx/milestones/1.5","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/milestones/16/labels","id":1554808,"number":16,"title":"1.5","description":"* Drop python-2.6, 3.3\r\n* New Makefile/make.bat to use make-mode ","creator":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":2,"state":"open","created_at":"2016-02-01T07:37:34Z","updated_at":"2016-04-12T02:58:41Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/1826/commits","review_comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/1826/comments","review_comment_url":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/1826/comments","statuses_url":"https://api.github.com/repos/sphinx-doc/sphinx/statuses/2a262369717376624c4334c3c358bb81eda1433b","head":{"label":"johnnoone:yielding","ref":"yielding","sha":"2a262369717376624c4334c3c358bb81eda1433b","user":{"login":"johnnoone","id":81812,"avatar_url":"https://avatars.githubusercontent.com/u/81812?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnoone","html_url":"https://github.com/johnnoone","followers_url":"https://api.github.com/users/johnnoone/followers","following_url":"https://api.github.com/users/johnnoone/following{/other_user}","gists_url":"https://api.github.com/users/johnnoone/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnoone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnoone/subscriptions","organizations_url":"https://api.github.com/users/johnnoone/orgs","repos_url":"https://api.github.com/users/johnnoone/repos","events_url":"https://api.github.com/users/johnnoone/events{/privacy}","received_events_url":"https://api.github.com/users/johnnoone/received_events","type":"User","site_admin":false},"repo":{"id":33241387,"name":"sphinx","full_name":"johnnoone/sphinx","owner":{"login":"johnnoone","id":81812,"avatar_url":"https://avatars.githubusercontent.com/u/81812?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnoone","html_url":"https://github.com/johnnoone","followers_url":"https://api.github.com/users/johnnoone/followers","following_url":"https://api.github.com/users/johnnoone/following{/other_user}","gists_url":"https://api.github.com/users/johnnoone/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnoone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnoone/subscriptions","organizations_url":"https://api.github.com/users/johnnoone/orgs","repos_url":"https://api.github.com/users/johnnoone/repos","events_url":"https://api.github.com/users/johnnoone/events{/privacy}","received_events_url":"https://api.github.com/users/johnnoone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnnoone/sphinx","description":"Main repository for the Sphinx documentation builder","fork":true,"url":"https://api.github.com/repos/johnnoone/sphinx","forks_url":"https://api.github.com/repos/johnnoone/sphinx/forks","keys_url":"https://api.github.com/repos/johnnoone/sphinx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnnoone/sphinx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnnoone/sphinx/teams","hooks_url":"https://api.github.com/repos/johnnoone/sphinx/hooks","issue_events_url":"https://api.github.com/repos/johnnoone/sphinx/issues/events{/number}","events_url":"https://api.github.com/repos/johnnoone/sphinx/events","assignees_url":"https://api.github.com/repos/johnnoone/sphinx/assignees{/user}","branches_url":"https://api.github.com/repos/johnnoone/sphinx/branches{/branch}","tags_url":"https://api.github.com/repos/johnnoone/sphinx/tags","blobs_url":"https://api.github.com/repos/johnnoone/sphinx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnnoone/sphinx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnnoone/sphinx/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnnoone/sphinx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnnoone/sphinx/statuses/{sha}","languages_url":"https://api.github.com/repos/johnnoone/sphinx/languages","stargazers_url":"https://api.github.com/repos/johnnoone/sphinx/stargazers","contributors_url":"https://api.github.com/repos/johnnoone/sphinx/contributors","subscribers_url":"https://api.github.com/repos/johnnoone/sphinx/subscribers","subscription_url":"https://api.github.com/repos/johnnoone/sphinx/subscription","commits_url":"https://api.github.com/repos/johnnoone/sphinx/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnnoone/sphinx/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnnoone/sphinx/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnnoone/sphinx/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnnoone/sphinx/contents/{+path}","compare_url":"https://api.github.com/repos/johnnoone/sphinx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnnoone/sphinx/merges","archive_url":"https://api.github.com/repos/johnnoone/sphinx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnnoone/sphinx/downloads","issues_url":"https://api.github.com/repos/johnnoone/sphinx/issues{/number}","pulls_url":"https://api.github.com/repos/johnnoone/sphinx/pulls{/number}","milestones_url":"https://api.github.com/repos/johnnoone/sphinx/milestones{/number}","notifications_url":"https://api.github.com/repos/johnnoone/sphinx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnnoone/sphinx/labels{/name}","releases_url":"https://api.github.com/repos/johnnoone/sphinx/releases{/id}","deployments_url":"https://api.github.com/repos/johnnoone/sphinx/deployments","created_at":"2015-04-01T10:23:59Z","updated_at":"2015-04-01T10:24:00Z","pushed_at":"2015-04-02T10:48:06Z","git_url":"git://github.com/johnnoone/sphinx.git","ssh_url":"git@github.com:johnnoone/sphinx.git","clone_url":"https://github.com/johnnoone/sphinx.git","svn_url":"https://github.com/johnnoone/sphinx","homepage":"http://sphinx-doc.org","size":12963,"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":"sphinx-doc:master","ref":"master","sha":"8c018d31aa907e75f9f2479709f0930d17292a8f","user":{"login":"sphinx-doc","id":9928167,"avatar_url":"https://avatars.githubusercontent.com/u/9928167?v=3","gravatar_id":"","url":"https://api.github.com/users/sphinx-doc","html_url":"https://github.com/sphinx-doc","followers_url":"https://api.github.com/users/sphinx-doc/followers","following_url":"https://api.github.com/users/sphinx-doc/following{/other_user}","gists_url":"https://api.github.com/users/sphinx-doc/gists{/gist_id}","starred_url":"https://api.github.com/users/sphinx-doc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphinx-doc/subscriptions","organizations_url":"https://api.github.com/users/sphinx-doc/orgs","repos_url":"https://api.github.com/users/sphinx-doc/repos","events_url":"https://api.github.com/users/sphinx-doc/events{/privacy}","received_events_url":"https://api.github.com/users/sphinx-doc/received_events","type":"Organization","site_admin":false},"repo":{"id":28710753,"name":"sphinx","full_name":"sphinx-doc/sphinx","owner":{"login":"sphinx-doc","id":9928167,"avatar_url":"https://avatars.githubusercontent.com/u/9928167?v=3","gravatar_id":"","url":"https://api.github.com/users/sphinx-doc","html_url":"https://github.com/sphinx-doc","followers_url":"https://api.github.com/users/sphinx-doc/followers","following_url":"https://api.github.com/users/sphinx-doc/following{/other_user}","gists_url":"https://api.github.com/users/sphinx-doc/gists{/gist_id}","starred_url":"https://api.github.com/users/sphinx-doc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphinx-doc/subscriptions","organizations_url":"https://api.github.com/users/sphinx-doc/orgs","repos_url":"https://api.github.com/users/sphinx-doc/repos","events_url":"https://api.github.com/users/sphinx-doc/events{/privacy}","received_events_url":"https://api.github.com/users/sphinx-doc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sphinx-doc/sphinx","description":"Main repository for the Sphinx documentation builder","fork":false,"url":"https://api.github.com/repos/sphinx-doc/sphinx","forks_url":"https://api.github.com/repos/sphinx-doc/sphinx/forks","keys_url":"https://api.github.com/repos/sphinx-doc/sphinx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sphinx-doc/sphinx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sphinx-doc/sphinx/teams","hooks_url":"https://api.github.com/repos/sphinx-doc/sphinx/hooks","issue_events_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/events{/number}","events_url":"https://api.github.com/repos/sphinx-doc/sphinx/events","assignees_url":"https://api.github.com/repos/sphinx-doc/sphinx/assignees{/user}","branches_url":"https://api.github.com/repos/sphinx-doc/sphinx/branches{/branch}","tags_url":"https://api.github.com/repos/sphinx-doc/sphinx/tags","blobs_url":"https://api.github.com/repos/sphinx-doc/sphinx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sphinx-doc/sphinx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sphinx-doc/sphinx/git/refs{/sha}","trees_url":"https://api.github.com/repos/sphinx-doc/sphinx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sphinx-doc/sphinx/statuses/{sha}","languages_url":"https://api.github.com/repos/sphinx-doc/sphinx/languages","stargazers_url":"https://api.github.com/repos/sphinx-doc/sphinx/stargazers","contributors_url":"https://api.github.com/repos/sphinx-doc/sphinx/contributors","subscribers_url":"https://api.github.com/repos/sphinx-doc/sphinx/subscribers","subscription_url":"https://api.github.com/repos/sphinx-doc/sphinx/subscription","commits_url":"https://api.github.com/repos/sphinx-doc/sphinx/commits{/sha}","git_commits_url":"https://api.github.com/repos/sphinx-doc/sphinx/git/commits{/sha}","comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/comments{/number}","issue_comment_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/comments{/number}","contents_url":"https://api.github.com/repos/sphinx-doc/sphinx/contents/{+path}","compare_url":"https://api.github.com/repos/sphinx-doc/sphinx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sphinx-doc/sphinx/merges","archive_url":"https://api.github.com/repos/sphinx-doc/sphinx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sphinx-doc/sphinx/downloads","issues_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues{/number}","pulls_url":"https://api.github.com/repos/sphinx-doc/sphinx/pulls{/number}","milestones_url":"https://api.github.com/repos/sphinx-doc/sphinx/milestones{/number}","notifications_url":"https://api.github.com/repos/sphinx-doc/sphinx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/labels{/name}","releases_url":"https://api.github.com/repos/sphinx-doc/sphinx/releases{/id}","deployments_url":"https://api.github.com/repos/sphinx-doc/sphinx/deployments","created_at":"2015-01-02T10:53:28Z","updated_at":"2016-04-14T06:52:12Z","pushed_at":"2016-04-14T21:16:59Z","git_url":"git://github.com/sphinx-doc/sphinx.git","ssh_url":"git@github.com:sphinx-doc/sphinx.git","clone_url":"https://github.com/sphinx-doc/sphinx.git","svn_url":"https://github.com/sphinx-doc/sphinx","homepage":"http://sphinx-doc.org","size":20921,"stargazers_count":612,"watchers_count":612,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":313,"mirror_url":null,"open_issues_count":518,"forks":313,"open_issues":518,"watchers":612,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/1826"},"html":{"href":"https://github.com/sphinx-doc/sphinx/pull/1826"},"issue":{"href":"https://api.github.com/repos/sphinx-doc/sphinx/issues/1826"},"comments":{"href":"https://api.github.com/repos/sphinx-doc/sphinx/issues/1826/comments"},"review_comments":{"href":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/1826/comments"},"review_comment":{"href":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sphinx-doc/sphinx/pulls/1826/commits"},"statuses":{"href":"https://api.github.com/repos/sphinx-doc/sphinx/statuses/2a262369717376624c4334c3c358bb81eda1433b"}}}}