{"action":"created","comment":{"url":"https://api.github.com/repos/xitu/gold-miner/pulls/comments/55916032","id":55916032,"diff_hunk":"@@ -115,27 +115,27 @@ By virtue of making refactoring easier, `yield from` also lets you chain generat\n     print(value)  # Prints '84'.\n \n \n-## Summary\n+## 总结\n \n-Generators in Python 2.2 let the execution of code be paused. Once the ability to send values back into the paused generators were introduced in Python 2.5, the concept of coroutines in Python became possible. And the addition of `yield from` in Python 3.3 made it easier to refactor generators as well as chain them together.\n+Python 2.2 中的生成器让代码执行过程可以暂停。Python 2.5 中可以将值返回给暂停的产生器，这使得 Python 中协程的概念成为可能。加上 Python 3.3 中的 `yield from`，使得重构生成器与将它们串联起来都很简单。\n \n-## What is an event loop?\n+## 什么事事件循环？","path":"TODO/how-the-heck-does-async-await-work-in-python-3-5.md","position":93,"original_position":93,"commit_id":"3f1e88b7eb6bd59484de66ce22a4e1b34b078ad6","original_commit_id":"3f1e88b7eb6bd59484de66ce22a4e1b34b078ad6","user":{"login":"L9m","id":6696616,"avatar_url":"https://avatars.githubusercontent.com/u/6696616?v=3","gravatar_id":"","url":"https://api.github.com/users/L9m","html_url":"https://github.com/L9m","followers_url":"https://api.github.com/users/L9m/followers","following_url":"https://api.github.com/users/L9m/following{/other_user}","gists_url":"https://api.github.com/users/L9m/gists{/gist_id}","starred_url":"https://api.github.com/users/L9m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/L9m/subscriptions","organizations_url":"https://api.github.com/users/L9m/orgs","repos_url":"https://api.github.com/users/L9m/repos","events_url":"https://api.github.com/users/L9m/events{/privacy}","received_events_url":"https://api.github.com/users/L9m/received_events","type":"User","site_admin":false},"body":"什么是事件循环","created_at":"2016-03-12T04:37:10Z","updated_at":"2016-03-12T04:37:10Z","html_url":"https://github.com/xitu/gold-miner/pull/199#discussion_r55916032","pull_request_url":"https://api.github.com/repos/xitu/gold-miner/pulls/199","_links":{"self":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/comments/55916032"},"html":{"href":"https://github.com/xitu/gold-miner/pull/199#discussion_r55916032"},"pull_request":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/199"}}},"pull_request":{"url":"https://api.github.com/repos/xitu/gold-miner/pulls/199","id":62274062,"html_url":"https://github.com/xitu/gold-miner/pull/199","diff_url":"https://github.com/xitu/gold-miner/pull/199.diff","patch_url":"https://github.com/xitu/gold-miner/pull/199.patch","issue_url":"https://api.github.com/repos/xitu/gold-miner/issues/199","number":199,"state":"open","locked":false,"title":"How the heck does async/await work in Python 3.5? 初稿翻译完毕，等待审阅！","user":{"login":"rainyear","id":3953966,"avatar_url":"https://avatars.githubusercontent.com/u/3953966?v=3","gravatar_id":"","url":"https://api.github.com/users/rainyear","html_url":"https://github.com/rainyear","followers_url":"https://api.github.com/users/rainyear/followers","following_url":"https://api.github.com/users/rainyear/following{/other_user}","gists_url":"https://api.github.com/users/rainyear/gists{/gist_id}","starred_url":"https://api.github.com/users/rainyear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainyear/subscriptions","organizations_url":"https://api.github.com/users/rainyear/orgs","repos_url":"https://api.github.com/users/rainyear/repos","events_url":"https://api.github.com/users/rainyear/events{/privacy}","received_events_url":"https://api.github.com/users/rainyear/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-09T18:32:02Z","updated_at":"2016-03-12T04:37:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae7fff2bd14d28af2a632cab92b8d4bd2ce718ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xitu/gold-miner/pulls/199/commits","review_comments_url":"https://api.github.com/repos/xitu/gold-miner/pulls/199/comments","review_comment_url":"https://api.github.com/repos/xitu/gold-miner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xitu/gold-miner/issues/199/comments","statuses_url":"https://api.github.com/repos/xitu/gold-miner/statuses/3f1e88b7eb6bd59484de66ce22a4e1b34b078ad6","head":{"label":"rainyear:master","ref":"master","sha":"3f1e88b7eb6bd59484de66ce22a4e1b34b078ad6","user":{"login":"rainyear","id":3953966,"avatar_url":"https://avatars.githubusercontent.com/u/3953966?v=3","gravatar_id":"","url":"https://api.github.com/users/rainyear","html_url":"https://github.com/rainyear","followers_url":"https://api.github.com/users/rainyear/followers","following_url":"https://api.github.com/users/rainyear/following{/other_user}","gists_url":"https://api.github.com/users/rainyear/gists{/gist_id}","starred_url":"https://api.github.com/users/rainyear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainyear/subscriptions","organizations_url":"https://api.github.com/users/rainyear/orgs","repos_url":"https://api.github.com/users/rainyear/repos","events_url":"https://api.github.com/users/rainyear/events{/privacy}","received_events_url":"https://api.github.com/users/rainyear/received_events","type":"User","site_admin":false},"repo":{"id":48580353,"name":"gold-miner","full_name":"rainyear/gold-miner","owner":{"login":"rainyear","id":3953966,"avatar_url":"https://avatars.githubusercontent.com/u/3953966?v=3","gravatar_id":"","url":"https://api.github.com/users/rainyear","html_url":"https://github.com/rainyear","followers_url":"https://api.github.com/users/rainyear/followers","following_url":"https://api.github.com/users/rainyear/following{/other_user}","gists_url":"https://api.github.com/users/rainyear/gists{/gist_id}","starred_url":"https://api.github.com/users/rainyear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainyear/subscriptions","organizations_url":"https://api.github.com/users/rainyear/orgs","repos_url":"https://api.github.com/users/rainyear/repos","events_url":"https://api.github.com/users/rainyear/events{/privacy}","received_events_url":"https://api.github.com/users/rainyear/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rainyear/gold-miner","description":"掘金翻译计划，翻译掘金上优质的英文文章","fork":true,"url":"https://api.github.com/repos/rainyear/gold-miner","forks_url":"https://api.github.com/repos/rainyear/gold-miner/forks","keys_url":"https://api.github.com/repos/rainyear/gold-miner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rainyear/gold-miner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rainyear/gold-miner/teams","hooks_url":"https://api.github.com/repos/rainyear/gold-miner/hooks","issue_events_url":"https://api.github.com/repos/rainyear/gold-miner/issues/events{/number}","events_url":"https://api.github.com/repos/rainyear/gold-miner/events","assignees_url":"https://api.github.com/repos/rainyear/gold-miner/assignees{/user}","branches_url":"https://api.github.com/repos/rainyear/gold-miner/branches{/branch}","tags_url":"https://api.github.com/repos/rainyear/gold-miner/tags","blobs_url":"https://api.github.com/repos/rainyear/gold-miner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rainyear/gold-miner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rainyear/gold-miner/git/refs{/sha}","trees_url":"https://api.github.com/repos/rainyear/gold-miner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rainyear/gold-miner/statuses/{sha}","languages_url":"https://api.github.com/repos/rainyear/gold-miner/languages","stargazers_url":"https://api.github.com/repos/rainyear/gold-miner/stargazers","contributors_url":"https://api.github.com/repos/rainyear/gold-miner/contributors","subscribers_url":"https://api.github.com/repos/rainyear/gold-miner/subscribers","subscription_url":"https://api.github.com/repos/rainyear/gold-miner/subscription","commits_url":"https://api.github.com/repos/rainyear/gold-miner/commits{/sha}","git_commits_url":"https://api.github.com/repos/rainyear/gold-miner/git/commits{/sha}","comments_url":"https://api.github.com/repos/rainyear/gold-miner/comments{/number}","issue_comment_url":"https://api.github.com/repos/rainyear/gold-miner/issues/comments{/number}","contents_url":"https://api.github.com/repos/rainyear/gold-miner/contents/{+path}","compare_url":"https://api.github.com/repos/rainyear/gold-miner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rainyear/gold-miner/merges","archive_url":"https://api.github.com/repos/rainyear/gold-miner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rainyear/gold-miner/downloads","issues_url":"https://api.github.com/repos/rainyear/gold-miner/issues{/number}","pulls_url":"https://api.github.com/repos/rainyear/gold-miner/pulls{/number}","milestones_url":"https://api.github.com/repos/rainyear/gold-miner/milestones{/number}","notifications_url":"https://api.github.com/repos/rainyear/gold-miner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rainyear/gold-miner/labels{/name}","releases_url":"https://api.github.com/repos/rainyear/gold-miner/releases{/id}","deployments_url":"https://api.github.com/repos/rainyear/gold-miner/deployments","created_at":"2015-12-25T12:47:13Z","updated_at":"2016-01-13T04:57:26Z","pushed_at":"2016-03-09T18:30:21Z","git_url":"git://github.com/rainyear/gold-miner.git","ssh_url":"git@github.com:rainyear/gold-miner.git","clone_url":"https://github.com/rainyear/gold-miner.git","svn_url":"https://github.com/rainyear/gold-miner","homepage":"http://gold.xitu.io","size":8657,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"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":"xitu:master","ref":"master","sha":"4a8be806b9443af9a8e5ae3862bd81ec9ac37d1f","user":{"login":"xitu","id":10482599,"avatar_url":"https://avatars.githubusercontent.com/u/10482599?v=3","gravatar_id":"","url":"https://api.github.com/users/xitu","html_url":"https://github.com/xitu","followers_url":"https://api.github.com/users/xitu/followers","following_url":"https://api.github.com/users/xitu/following{/other_user}","gists_url":"https://api.github.com/users/xitu/gists{/gist_id}","starred_url":"https://api.github.com/users/xitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitu/subscriptions","organizations_url":"https://api.github.com/users/xitu/orgs","repos_url":"https://api.github.com/users/xitu/repos","events_url":"https://api.github.com/users/xitu/events{/privacy}","received_events_url":"https://api.github.com/users/xitu/received_events","type":"Organization","site_admin":false},"repo":{"id":45512989,"name":"gold-miner","full_name":"xitu/gold-miner","owner":{"login":"xitu","id":10482599,"avatar_url":"https://avatars.githubusercontent.com/u/10482599?v=3","gravatar_id":"","url":"https://api.github.com/users/xitu","html_url":"https://github.com/xitu","followers_url":"https://api.github.com/users/xitu/followers","following_url":"https://api.github.com/users/xitu/following{/other_user}","gists_url":"https://api.github.com/users/xitu/gists{/gist_id}","starred_url":"https://api.github.com/users/xitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitu/subscriptions","organizations_url":"https://api.github.com/users/xitu/orgs","repos_url":"https://api.github.com/users/xitu/repos","events_url":"https://api.github.com/users/xitu/events{/privacy}","received_events_url":"https://api.github.com/users/xitu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xitu/gold-miner","description":"掘金翻译计划，翻译掘金上优质的英文文章","fork":false,"url":"https://api.github.com/repos/xitu/gold-miner","forks_url":"https://api.github.com/repos/xitu/gold-miner/forks","keys_url":"https://api.github.com/repos/xitu/gold-miner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xitu/gold-miner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xitu/gold-miner/teams","hooks_url":"https://api.github.com/repos/xitu/gold-miner/hooks","issue_events_url":"https://api.github.com/repos/xitu/gold-miner/issues/events{/number}","events_url":"https://api.github.com/repos/xitu/gold-miner/events","assignees_url":"https://api.github.com/repos/xitu/gold-miner/assignees{/user}","branches_url":"https://api.github.com/repos/xitu/gold-miner/branches{/branch}","tags_url":"https://api.github.com/repos/xitu/gold-miner/tags","blobs_url":"https://api.github.com/repos/xitu/gold-miner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xitu/gold-miner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xitu/gold-miner/git/refs{/sha}","trees_url":"https://api.github.com/repos/xitu/gold-miner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xitu/gold-miner/statuses/{sha}","languages_url":"https://api.github.com/repos/xitu/gold-miner/languages","stargazers_url":"https://api.github.com/repos/xitu/gold-miner/stargazers","contributors_url":"https://api.github.com/repos/xitu/gold-miner/contributors","subscribers_url":"https://api.github.com/repos/xitu/gold-miner/subscribers","subscription_url":"https://api.github.com/repos/xitu/gold-miner/subscription","commits_url":"https://api.github.com/repos/xitu/gold-miner/commits{/sha}","git_commits_url":"https://api.github.com/repos/xitu/gold-miner/git/commits{/sha}","comments_url":"https://api.github.com/repos/xitu/gold-miner/comments{/number}","issue_comment_url":"https://api.github.com/repos/xitu/gold-miner/issues/comments{/number}","contents_url":"https://api.github.com/repos/xitu/gold-miner/contents/{+path}","compare_url":"https://api.github.com/repos/xitu/gold-miner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xitu/gold-miner/merges","archive_url":"https://api.github.com/repos/xitu/gold-miner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xitu/gold-miner/downloads","issues_url":"https://api.github.com/repos/xitu/gold-miner/issues{/number}","pulls_url":"https://api.github.com/repos/xitu/gold-miner/pulls{/number}","milestones_url":"https://api.github.com/repos/xitu/gold-miner/milestones{/number}","notifications_url":"https://api.github.com/repos/xitu/gold-miner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xitu/gold-miner/labels{/name}","releases_url":"https://api.github.com/repos/xitu/gold-miner/releases{/id}","deployments_url":"https://api.github.com/repos/xitu/gold-miner/deployments","created_at":"2015-11-04T03:29:13Z","updated_at":"2016-03-12T03:58:33Z","pushed_at":"2016-03-12T02:49:34Z","git_url":"git://github.com/xitu/gold-miner.git","ssh_url":"git@github.com:xitu/gold-miner.git","clone_url":"https://github.com/xitu/gold-miner.git","svn_url":"https://github.com/xitu/gold-miner","homepage":"http://gold.xitu.io","size":8912,"stargazers_count":758,"watchers_count":758,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":153,"mirror_url":null,"open_issues_count":21,"forks":153,"open_issues":21,"watchers":758,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/199"},"html":{"href":"https://github.com/xitu/gold-miner/pull/199"},"issue":{"href":"https://api.github.com/repos/xitu/gold-miner/issues/199"},"comments":{"href":"https://api.github.com/repos/xitu/gold-miner/issues/199/comments"},"review_comments":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/199/comments"},"review_comment":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/199/commits"},"statuses":{"href":"https://api.github.com/repos/xitu/gold-miner/statuses/3f1e88b7eb6bd59484de66ce22a4e1b34b078ad6"}}}}