{"action":"created","comment":{"url":"https://api.github.com/repos/python/cpython/pulls/comments/156476562","pull_request_review_id":82959855,"id":156476562,"diff_hunk":"@@ -252,6 +253,9 @@ def _wakeup(self, future):\n \n \n _PyTask = Task\n+_py_register_task = _register_task\n+_py_enter_task = _enter_task\n+_py_leave_task = _leave_task","path":"Lib/asyncio/tasks.py","position":95,"original_position":95,"commit_id":"c3b17943603f536ac5d6934b65703062a7a46ffc","original_commit_id":"c3b17943603f536ac5d6934b65703062a7a46ffc","user":{"login":"1st1","id":239003,"avatar_url":"https://avatars0.githubusercontent.com/u/239003?v=4","gravatar_id":"","url":"https://api.github.com/users/1st1","html_url":"https://github.com/1st1","followers_url":"https://api.github.com/users/1st1/followers","following_url":"https://api.github.com/users/1st1/following{/other_user}","gists_url":"https://api.github.com/users/1st1/gists{/gist_id}","starred_url":"https://api.github.com/users/1st1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1st1/subscriptions","organizations_url":"https://api.github.com/users/1st1/orgs","repos_url":"https://api.github.com/users/1st1/repos","events_url":"https://api.github.com/users/1st1/events{/privacy}","received_events_url":"https://api.github.com/users/1st1/received_events","type":"User","site_admin":false},"body":"Also keep in mind that `_all_tasks` isn't public API, it's only needed to implement `tasks.py/Task` class, so you only defined it when `_asynciomodule.c` isn't compiled.","created_at":"2017-12-12T19:49:38Z","updated_at":"2017-12-12T19:49:38Z","html_url":"https://github.com/python/cpython/pull/4799#discussion_r156476562","pull_request_url":"https://api.github.com/repos/python/cpython/pulls/4799","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/python/cpython/pulls/comments/156476562"},"html":{"href":"https://github.com/python/cpython/pull/4799#discussion_r156476562"},"pull_request":{"href":"https://api.github.com/repos/python/cpython/pulls/4799"}},"in_reply_to_id":156444085},"pull_request":{"url":"https://api.github.com/repos/python/cpython/pulls/4799","id":157641080,"html_url":"https://github.com/python/cpython/pull/4799","diff_url":"https://github.com/python/cpython/pull/4799.diff","patch_url":"https://github.com/python/cpython/pull/4799.patch","issue_url":"https://api.github.com/repos/python/cpython/issues/4799","number":4799,"state":"open","locked":false,"title":"bpo-32250: Implement asyncio.current_task() and asyncio.all_tasks()","user":{"login":"asvetlov","id":356399,"avatar_url":"https://avatars0.githubusercontent.com/u/356399?v=4","gravatar_id":"","url":"https://api.github.com/users/asvetlov","html_url":"https://github.com/asvetlov","followers_url":"https://api.github.com/users/asvetlov/followers","following_url":"https://api.github.com/users/asvetlov/following{/other_user}","gists_url":"https://api.github.com/users/asvetlov/gists{/gist_id}","starred_url":"https://api.github.com/users/asvetlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asvetlov/subscriptions","organizations_url":"https://api.github.com/users/asvetlov/orgs","repos_url":"https://api.github.com/users/asvetlov/repos","events_url":"https://api.github.com/users/asvetlov/events{/privacy}","received_events_url":"https://api.github.com/users/asvetlov/received_events","type":"User","site_admin":false},"body":"Second version.\r\nProof of concept, no tests, C Accelerator is not updated.\r\n\r\n@1st1 @bdarnell please take a look\n\n<!-- issue-number: bpo-32250 -->\nhttps://bugs.python.org/issue32250\n<!-- /issue-number -->\n","created_at":"2017-12-11T18:42:42Z","updated_at":"2017-12-12T19:49:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"493c387302cf43cd135ddcda616cdb9fd64514ac","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/python/cpython/pulls/4799/commits","review_comments_url":"https://api.github.com/repos/python/cpython/pulls/4799/comments","review_comment_url":"https://api.github.com/repos/python/cpython/pulls/comments{/number}","comments_url":"https://api.github.com/repos/python/cpython/issues/4799/comments","statuses_url":"https://api.github.com/repos/python/cpython/statuses/c3b17943603f536ac5d6934b65703062a7a46ffc","head":{"label":"asvetlov:current_task2","ref":"current_task2","sha":"c3b17943603f536ac5d6934b65703062a7a46ffc","user":{"login":"asvetlov","id":356399,"avatar_url":"https://avatars0.githubusercontent.com/u/356399?v=4","gravatar_id":"","url":"https://api.github.com/users/asvetlov","html_url":"https://github.com/asvetlov","followers_url":"https://api.github.com/users/asvetlov/followers","following_url":"https://api.github.com/users/asvetlov/following{/other_user}","gists_url":"https://api.github.com/users/asvetlov/gists{/gist_id}","starred_url":"https://api.github.com/users/asvetlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asvetlov/subscriptions","organizations_url":"https://api.github.com/users/asvetlov/orgs","repos_url":"https://api.github.com/users/asvetlov/repos","events_url":"https://api.github.com/users/asvetlov/events{/privacy}","received_events_url":"https://api.github.com/users/asvetlov/received_events","type":"User","site_admin":false},"repo":{"id":110670047,"name":"cpython","full_name":"asvetlov/cpython","owner":{"login":"asvetlov","id":356399,"avatar_url":"https://avatars0.githubusercontent.com/u/356399?v=4","gravatar_id":"","url":"https://api.github.com/users/asvetlov","html_url":"https://github.com/asvetlov","followers_url":"https://api.github.com/users/asvetlov/followers","following_url":"https://api.github.com/users/asvetlov/following{/other_user}","gists_url":"https://api.github.com/users/asvetlov/gists{/gist_id}","starred_url":"https://api.github.com/users/asvetlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asvetlov/subscriptions","organizations_url":"https://api.github.com/users/asvetlov/orgs","repos_url":"https://api.github.com/users/asvetlov/repos","events_url":"https://api.github.com/users/asvetlov/events{/privacy}","received_events_url":"https://api.github.com/users/asvetlov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asvetlov/cpython","description":"The Python programming language","fork":true,"url":"https://api.github.com/repos/asvetlov/cpython","forks_url":"https://api.github.com/repos/asvetlov/cpython/forks","keys_url":"https://api.github.com/repos/asvetlov/cpython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asvetlov/cpython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asvetlov/cpython/teams","hooks_url":"https://api.github.com/repos/asvetlov/cpython/hooks","issue_events_url":"https://api.github.com/repos/asvetlov/cpython/issues/events{/number}","events_url":"https://api.github.com/repos/asvetlov/cpython/events","assignees_url":"https://api.github.com/repos/asvetlov/cpython/assignees{/user}","branches_url":"https://api.github.com/repos/asvetlov/cpython/branches{/branch}","tags_url":"https://api.github.com/repos/asvetlov/cpython/tags","blobs_url":"https://api.github.com/repos/asvetlov/cpython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asvetlov/cpython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asvetlov/cpython/git/refs{/sha}","trees_url":"https://api.github.com/repos/asvetlov/cpython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asvetlov/cpython/statuses/{sha}","languages_url":"https://api.github.com/repos/asvetlov/cpython/languages","stargazers_url":"https://api.github.com/repos/asvetlov/cpython/stargazers","contributors_url":"https://api.github.com/repos/asvetlov/cpython/contributors","subscribers_url":"https://api.github.com/repos/asvetlov/cpython/subscribers","subscription_url":"https://api.github.com/repos/asvetlov/cpython/subscription","commits_url":"https://api.github.com/repos/asvetlov/cpython/commits{/sha}","git_commits_url":"https://api.github.com/repos/asvetlov/cpython/git/commits{/sha}","comments_url":"https://api.github.com/repos/asvetlov/cpython/comments{/number}","issue_comment_url":"https://api.github.com/repos/asvetlov/cpython/issues/comments{/number}","contents_url":"https://api.github.com/repos/asvetlov/cpython/contents/{+path}","compare_url":"https://api.github.com/repos/asvetlov/cpython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asvetlov/cpython/merges","archive_url":"https://api.github.com/repos/asvetlov/cpython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asvetlov/cpython/downloads","issues_url":"https://api.github.com/repos/asvetlov/cpython/issues{/number}","pulls_url":"https://api.github.com/repos/asvetlov/cpython/pulls{/number}","milestones_url":"https://api.github.com/repos/asvetlov/cpython/milestones{/number}","notifications_url":"https://api.github.com/repos/asvetlov/cpython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asvetlov/cpython/labels{/name}","releases_url":"https://api.github.com/repos/asvetlov/cpython/releases{/id}","deployments_url":"https://api.github.com/repos/asvetlov/cpython/deployments","created_at":"2017-11-14T09:35:08Z","updated_at":"2017-11-14T09:35:31Z","pushed_at":"2017-12-12T16:01:45Z","git_url":"git://github.com/asvetlov/cpython.git","ssh_url":"git@github.com:asvetlov/cpython.git","clone_url":"https://github.com/asvetlov/cpython.git","svn_url":"https://github.com/asvetlov/cpython","homepage":"https://www.python.org/","size":219246,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"python:master","ref":"master","sha":"e0720cd9e44d43587e6b6c91fd21d0bb0345ccb9","user":{"login":"python","id":1525981,"avatar_url":"https://avatars3.githubusercontent.com/u/1525981?v=4","gravatar_id":"","url":"https://api.github.com/users/python","html_url":"https://github.com/python","followers_url":"https://api.github.com/users/python/followers","following_url":"https://api.github.com/users/python/following{/other_user}","gists_url":"https://api.github.com/users/python/gists{/gist_id}","starred_url":"https://api.github.com/users/python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python/subscriptions","organizations_url":"https://api.github.com/users/python/orgs","repos_url":"https://api.github.com/users/python/repos","events_url":"https://api.github.com/users/python/events{/privacy}","received_events_url":"https://api.github.com/users/python/received_events","type":"Organization","site_admin":false},"repo":{"id":81598961,"name":"cpython","full_name":"python/cpython","owner":{"login":"python","id":1525981,"avatar_url":"https://avatars3.githubusercontent.com/u/1525981?v=4","gravatar_id":"","url":"https://api.github.com/users/python","html_url":"https://github.com/python","followers_url":"https://api.github.com/users/python/followers","following_url":"https://api.github.com/users/python/following{/other_user}","gists_url":"https://api.github.com/users/python/gists{/gist_id}","starred_url":"https://api.github.com/users/python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python/subscriptions","organizations_url":"https://api.github.com/users/python/orgs","repos_url":"https://api.github.com/users/python/repos","events_url":"https://api.github.com/users/python/events{/privacy}","received_events_url":"https://api.github.com/users/python/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/python/cpython","description":"The Python programming language","fork":false,"url":"https://api.github.com/repos/python/cpython","forks_url":"https://api.github.com/repos/python/cpython/forks","keys_url":"https://api.github.com/repos/python/cpython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python/cpython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python/cpython/teams","hooks_url":"https://api.github.com/repos/python/cpython/hooks","issue_events_url":"https://api.github.com/repos/python/cpython/issues/events{/number}","events_url":"https://api.github.com/repos/python/cpython/events","assignees_url":"https://api.github.com/repos/python/cpython/assignees{/user}","branches_url":"https://api.github.com/repos/python/cpython/branches{/branch}","tags_url":"https://api.github.com/repos/python/cpython/tags","blobs_url":"https://api.github.com/repos/python/cpython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python/cpython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python/cpython/git/refs{/sha}","trees_url":"https://api.github.com/repos/python/cpython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python/cpython/statuses/{sha}","languages_url":"https://api.github.com/repos/python/cpython/languages","stargazers_url":"https://api.github.com/repos/python/cpython/stargazers","contributors_url":"https://api.github.com/repos/python/cpython/contributors","subscribers_url":"https://api.github.com/repos/python/cpython/subscribers","subscription_url":"https://api.github.com/repos/python/cpython/subscription","commits_url":"https://api.github.com/repos/python/cpython/commits{/sha}","git_commits_url":"https://api.github.com/repos/python/cpython/git/commits{/sha}","comments_url":"https://api.github.com/repos/python/cpython/comments{/number}","issue_comment_url":"https://api.github.com/repos/python/cpython/issues/comments{/number}","contents_url":"https://api.github.com/repos/python/cpython/contents/{+path}","compare_url":"https://api.github.com/repos/python/cpython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python/cpython/merges","archive_url":"https://api.github.com/repos/python/cpython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python/cpython/downloads","issues_url":"https://api.github.com/repos/python/cpython/issues{/number}","pulls_url":"https://api.github.com/repos/python/cpython/pulls{/number}","milestones_url":"https://api.github.com/repos/python/cpython/milestones{/number}","notifications_url":"https://api.github.com/repos/python/cpython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python/cpython/labels{/name}","releases_url":"https://api.github.com/repos/python/cpython/releases{/id}","deployments_url":"https://api.github.com/repos/python/cpython/deployments","created_at":"2017-02-10T19:23:51Z","updated_at":"2017-12-12T18:51:22Z","pushed_at":"2017-12-12T18:49:22Z","git_url":"git://github.com/python/cpython.git","ssh_url":"git@github.com:python/cpython.git","clone_url":"https://github.com/python/cpython.git","svn_url":"https://github.com/python/cpython","homepage":"https://www.python.org/","size":219585,"stargazers_count":14725,"watchers_count":14725,"language":"Python","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3563,"mirror_url":null,"archived":false,"open_issues_count":524,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":3563,"open_issues":524,"watchers":14725,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/python/cpython/pulls/4799"},"html":{"href":"https://github.com/python/cpython/pull/4799"},"issue":{"href":"https://api.github.com/repos/python/cpython/issues/4799"},"comments":{"href":"https://api.github.com/repos/python/cpython/issues/4799/comments"},"review_comments":{"href":"https://api.github.com/repos/python/cpython/pulls/4799/comments"},"review_comment":{"href":"https://api.github.com/repos/python/cpython/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/python/cpython/pulls/4799/commits"},"statuses":{"href":"https://api.github.com/repos/python/cpython/statuses/c3b17943603f536ac5d6934b65703062a7a46ffc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"1st1"}}